Change indentation to spaces
This commit is contained in:
parent
f3a9568f70
commit
8119440db0
1 changed files with 13 additions and 13 deletions
|
@ -2,19 +2,19 @@
|
|||
* The state of the board.
|
||||
*/
|
||||
export const State = {
|
||||
turnCount: 0,
|
||||
turnCount: 0,
|
||||
|
||||
/**
|
||||
* Gets the id of the current player.
|
||||
*
|
||||
* @type {CellOwner}
|
||||
*/
|
||||
get currentPlayer()
|
||||
{
|
||||
return this.turnCount % 2 === 0 ? "r" : "b";
|
||||
},
|
||||
/**
|
||||
* Gets the id of the current player.
|
||||
*
|
||||
* @type {CellOwner}
|
||||
*/
|
||||
get currentPlayer()
|
||||
{
|
||||
return this.turnCount % 2 === 0 ? "r" : "b";
|
||||
},
|
||||
|
||||
board: /** @type {Board} */ (
|
||||
Array(6).fill("").map(
|
||||
() => (Array(7).fill(""))))
|
||||
board: /** @type {Board} */ (
|
||||
Array(6).fill("").map(
|
||||
() => (Array(7).fill(""))))
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue