]> git.eli173.com Git - pong_br/commitdiff
putting paddle speed back down lol
authorElijah Cohen <eli@eli173.com>
Sat, 18 May 2019 03:12:07 +0000 (22:12 -0500)
committerElijah Cohen <eli@eli173.com>
Sat, 18 May 2019 03:12:07 +0000 (22:12 -0500)
server/constants.js
web/constants.js

index 8b57aada14c299aa725011593ca1b55ce825ff00..d42b8df11b408baa40c25fe80248806d5a777af7 100644 (file)
@@ -23,7 +23,7 @@ var c = {
     // field
     BOARD_RADIUS: 10, // completely arbitrary actually...
     // paddle
-    DPADDLE: 0.2,
+    DPADDLE: 0.1,
     WIDTH_RATIO: 0.2, // paddle is 1/10th of gap rn
 }
 
index 187422563a36dd331a247df57c90fca24f59589c..ddb0fb48b8b41372e9542dae52e9c0b2c450ae50 100644 (file)
@@ -4,7 +4,6 @@ var c = {
     // matchmaker
     WS_PORT: 80,
     NUM_PLAYERS: 10,
-    MS_PER_FRAME: 100,
     WAIT_TIME: 60000, // 1 minute
     MAX_GAMES: 5, // the most games allowed to go on at once, to be tweaked as needed for purposes
     // gamestate