1
0
Fork 0
This repository has been archived on 2023-11-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
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);
}
}