Change indentation to spaces

This commit is contained in:
Manuel Thalmann 2022-12-13 10:34:07 +01:00
parent f3a9568f70
commit 8119440db0
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B

View file

@ -2,19 +2,19 @@
* The state of the board. * The state of the board.
*/ */
export const State = { export const State = {
turnCount: 0, turnCount: 0,
/** /**
* Gets the id of the current player. * Gets the id of the current player.
* *
* @type {CellOwner} * @type {CellOwner}
*/ */
get currentPlayer() get currentPlayer()
{ {
return this.turnCount % 2 === 0 ? "r" : "b"; return this.turnCount % 2 === 0 ? "r" : "b";
}, },
board: /** @type {Board} */ ( board: /** @type {Board} */ (
Array(6).fill("").map( Array(6).fill("").map(
() => (Array(7).fill("")))) () => (Array(7).fill(""))))
}; };