Centering the tetrimonio
This commit is contained in:
@ -127,8 +127,8 @@ let tetris = function () {
|
|||||||
|
|
||||||
function dropShape(p) {
|
function dropShape(p) {
|
||||||
p.t = next_t;
|
p.t = next_t;
|
||||||
p.x = 0;
|
p.x = grid_x/2 - 1;
|
||||||
p.y = grid_x/2 - 1;
|
p.y = 0;
|
||||||
p.r = 0;
|
p.r = 0;
|
||||||
|
|
||||||
next_t = getNextT();
|
next_t = getNextT();
|
||||||
|
Reference in New Issue
Block a user