We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7a4a4 commit a26cd5bCopy full SHA for a26cd5b
workspaces/simon-game/src/app/components/App.tsx
@@ -9,6 +9,7 @@ type GameState = "pre-game" | "game-over" | "player-turn" | "cpu-turn";
9
export function App() {
10
const [playerMoves, setPlayerMoves] = useState<readonly number[]>([]);
11
const [gameState, setGameState] = useState<GameState>("pre-game");
12
+ const [_correctMoves, _setCorrectMoves] = useState<readonly number[]>([0,1,2,3]);
13
14
if (gameState === "pre-game") {
15
return (
0 commit comments