From bb1d5edb3f32b9db0de9582dfe4c6ebb47f6278f Mon Sep 17 00:00:00 2001 From: JDG Date: Tue, 19 Oct 2021 14:27:16 +0200 Subject: [PATCH] Centering the tetrimonio --- tetris.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris.js b/tetris.js index 5b9878b..f9c8334 100644 --- a/tetris.js +++ b/tetris.js @@ -127,8 +127,8 @@ let tetris = function () { function dropShape(p) { p.t = next_t; - p.x = 0; - p.y = grid_x/2 - 1; + p.x = grid_x/2 - 1; + p.y = 0; p.r = 0; next_t = getNextT();