Chess on the ATmosphere checkmate.blue
chess
18
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use full moves to show win/loss message.

+2 -1
+1
.gitignore
··· 12 12 .DS_Store 13 13 Thumbs.db 14 14 .vscode 15 + *.code-workspace 15 16 16 17 # Env 17 18 .env
+1 -1
src/lib/stores/game.svelte.ts
··· 29 29 get isInCheck() { return chess.inCheck(); }, 30 30 get result() { return storedResult ?? gameResult(chess); }, 31 31 get status() { return status; }, 32 - get moveCount() { return chess.history().length; }, 32 + get moveCount() { return Math.ceil(chess.history().length / 2); }, 33 33 get whiteHandle() { return whiteHandle; }, 34 34 get blackHandle() { return blackHandle; }, 35 35 get whiteDid() { return whiteDid; },