···74 // Helper to check if it's the current user's turn
75 function isMyTurn(game: typeof data.games[0]): boolean {
76 if (!data.session) return false;
0077 const turn = getWhoseTurn(game);
78 if (turn === 'black') {
79 return game.player_one === data.session.did;
···74 // Helper to check if it's the current user's turn
75 function isMyTurn(game: typeof data.games[0]): boolean {
76 if (!data.session) return false;
77+ // Can't be your turn if there are no moves yet (game hasn't started)
78+ if (!game.action_count || game.action_count === 0) return false;
79 const turn = getWhoseTurn(game);
80 if (turn === 'black') {
81 return game.player_one === data.session.did;