|
|
@ -4,6 +4,7 @@ export const getDisplayStates = (gameState: BoardgameStateType, currentOutcome: |
|
|
|
"outcome-winx": currentOutcome === CurrentOutcome.WinX, |
|
|
|
"outcome-winx": currentOutcome === CurrentOutcome.WinX, |
|
|
|
"outcome-wino": currentOutcome === CurrentOutcome.WinO, |
|
|
|
"outcome-wino": currentOutcome === CurrentOutcome.WinO, |
|
|
|
"outcome-draw": currentOutcome === CurrentOutcome.Draw, |
|
|
|
"outcome-draw": currentOutcome === CurrentOutcome.Draw, |
|
|
|
|
|
|
|
"outcome-undecided": currentOutcome === CurrentOutcome.Undecided, |
|
|
|
"autoplayer-x-enabled": gameState.autoPlayers.has(Player.X), |
|
|
|
"autoplayer-x-enabled": gameState.autoPlayers.has(Player.X), |
|
|
|
"autoplayer-x-disabled": !gameState.autoPlayers.has(Player.X), |
|
|
|
"autoplayer-x-disabled": !gameState.autoPlayers.has(Player.X), |
|
|
|
"autoplayer-o-enabled": gameState.autoPlayers.has(Player.O), |
|
|
|
"autoplayer-o-enabled": gameState.autoPlayers.has(Player.O), |
|
|
|