mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
fixed tetris?
This commit is contained in:
parent
4d679650e4
commit
9e38715cc3
@ -12,4 +12,4 @@
|
||||
<script src='js/controller.js'></script>
|
||||
<script src='js/render.js'></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@ -10,4 +10,4 @@ document.body.onkeydown = function( e ) {
|
||||
keyPress( keys[ e.keyCode ] );
|
||||
render();
|
||||
}
|
||||
};
|
||||
};
|
||||
@ -44,7 +44,7 @@ function newShape() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// new shape starts to move
|
||||
freezed = false;
|
||||
// position where the shape will evolve
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user