const router = express.Router();
class TicTacToe extends Game {
- constructor() {
- super();
+ constructor(id) {
+ super(id);
this.moves = [];
this.board = Array(9).fill(null);
}
name: "Tic Tac Toe",
identifier: "tictactoe"
};
-
-exports.meta = TicTacToe.meta;