pong: increase speed of game
This commit is contained in:
parent
d1d9631ae8
commit
16242e95ca
@ -81,7 +81,7 @@ class PongCore {
|
||||
this.grid = 15; // size of grid squares
|
||||
this.paddleHeight = this.grid * 5;
|
||||
this.paddleHeightMax = this.canvas.height - this.grid - this.paddleHeight;
|
||||
this.timeout = 32; // speed in ms
|
||||
this.timeout = 4; // speed in ms
|
||||
this.width = this.canvas.width;
|
||||
this.height = this.canvas.height;
|
||||
this.gameover = false;
|
||||
|
Loading…
Reference in New Issue
Block a user