Player
+lines
+score
-timer
Game
+tick()
+updateStatistics()
Keyboard
+Keys: Object
+Keyboard()
-keydown()
WebSocket
+connect()
InputController
+left()
+rotate()
+right()
+drop()
+down()
Bucket
+clearLines()
+drawCells(block,rotation,x,y)
Draws
Block
+getCoordinates()
+move()
+test()
+randomBlock()
1
n