Work / Chess / Wiki / Entities
modes
Entitycanonicalverified 2026-10-04
MODE.CHESSSummary
Who you play: the computer, or a friend on the same phone.
Canonical values
| Key | Value | Last changed |
|---|---|---|
| MODE.COMPUTER | one player against the app's own engine. Code value vsComputer |
2026-10-04 |
| MODE.FRIEND | two players on one phone. Code value 2players; the app calls it "Local Battle", the new design calls it "Friend" |
2026-10-04 |
| MODE.ONLINE | none. There is no server and no account | 2026-10-04 |
| SIDE.HUMAN.TODAY | always White — src/store/gameStore.ts moves the computer when it is Black's turn |
2026-10-04 |
| SIDE.HUMAN.DESIGN | White, Black or Random, chosen in setup | 2026-10-04 |
| FRIEND.SEATING.DESIGN | Face to face (board fixed, Black's strip upside down) or Pass the phone (board turns to the mover) | 2026-10-04 |
| REMEMBERED | the last mode and level, in AsyncStorage under chess-game-store. Nothing else is saved today |
2026-10-04 |
Related
- difficulty — the levels of MODE.COMPUTER
- setup-computer — where a mode is chosen
- setup-friend — the friend options
- current-app-vs-new-design — what has to be built
Sources
- src/types/index.ts, src/store/gameStore.ts, src/app/index.tsx
- .context/designs/mobile/game/setup-computer.html