1
0
Fork 0
This repository has been archived on 2023-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Function-Tetris/Game.js

15 lines
No EOL
299 B
JavaScript

//variables and functions for game state
Game = {
currentLine: undefined,
currentLevel: undefined,
level: 1
}
Game.parabula = {
fh: function () {
return Math.floor(Math.random() * 9 - 4);
},
fk: function () {
return Math.floor(Math.random() * 5 - 3);
}
}