fixed tetris?

This commit is contained in:
Boof 2022-10-22 12:41:21 +02:00 committed by GitHub
parent 4d679650e4
commit 9e38715cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@
<script src='js/controller.js'></script> <script src='js/controller.js'></script>
<script src='js/render.js'></script> <script src='js/render.js'></script>
</body> </body>
</html> </html>

View File

@ -10,4 +10,4 @@ document.body.onkeydown = function( e ) {
keyPress( keys[ e.keyCode ] ); keyPress( keys[ e.keyCode ] );
render(); render();
} }
}; };

View File

@ -44,7 +44,7 @@ function newShape() {
} }
} }
} }
// new shape starts to move // new shape starts to move
freezed = false; freezed = false;
// position where the shape will evolve // position where the shape will evolve