diff --git a/src/js/Game.js b/src/js/Game.js index 9dbbd38..71a5e2c 100644 --- a/src/js/Game.js +++ b/src/js/Game.js @@ -79,6 +79,14 @@ export class Game return this.state.board; } + /** + * Gets the current player. + */ + get currentPlayer() + { + return this.state.currentPlayer; + } + /** * Gets the id of the player that is winning. *