MultiplayerMinesweeper/www/scripts/game/game.js

14 lines
273 B
JavaScript

class Game {
constructor(tileSize, gridSize, world, status) {
this.tileSize = tileSize;
this.gridSize = gridSize;
this.world = world;
this.status = status;
}
reset() {
game = new Game(24, [18, 18], null, false);
}
}
export var game = new Game(24, [18, 18])