extremely claude-assisted go game based on atproto! working on cleaning up and giving a more unique design, still has a bit of a slop vibe to it.

Fix games with 0 moves showing as 'my turn'

Check that action_count > 0 before determining if it's user's turn.
This prevents board preview loading issues for games that haven't started.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

+2
+2
src/routes/+page.svelte
··· 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 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;