You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ └── cards/ 52 card face SVGs + card back (140x190px)
40
+
│ └── cards/ 52 standard card SVGs + card back + game-specific cards (140x190px)
38
41
├── tests/ Vitest test files
39
42
├── docs/ Developer documentation
40
43
│ └── DEVELOPER.md Detailed developer guide
@@ -63,8 +66,11 @@ tableau-card-engine/
63
66
| Hello World |`example-games/hello-world/`| Minimal Phaser scene with card sprites -- proves the toolchain works |
64
67
| 9-Card Golf |`example-games/golf/`| Single-round 9-Card Golf (human vs. AI) with card flip animations, greedy/random AI strategies, and JSON game transcripts |
65
68
| Beleaguered Castle |`example-games/beleaguered-castle/`| Open solitaire with drag-and-drop, click-to-move, undo/redo, auto-move to foundations, auto-complete, win/loss detection, help panel, and JSON game transcripts |
69
+
| Sushi Go! |`example-games/sushi-go/`| Card drafting game (human vs. AI). Pick and pass hands over 3 rounds, collect sets of sushi dishes, and score the most points |
70
+
| Splendor |`example-games/splendor/`| Engine-building card game (human vs. AI). Collect gem tokens, purchase development cards for bonuses, attract nobles, and reach 15 prestige to win |
71
+
| Lost Cities |`example-games/lost-cities/`| Two-player expedition card game (human vs. AI). Bet on up to 5 colored expeditions across a 3-round match with investment multipliers, ascending-play rules, and cumulative scoring |
66
72
67
-
More games are planned: Sushi Go!, Splendor, Lost Cities, The Mind, and Coloretto.
|`Integration.test.ts`| Full greedy game play across seeds, game invariants, undo/redo across moves, transcript recording and validation, auto-complete verification, snapshot utilities (30 tests) |
365
400
401
+
## Sushi Go!
402
+
403
+
Sushi Go! is a card drafting game demonstrating:
404
+
405
+
-**Card drafting**: Pick one card from a hand, pass the rest, repeat until hands are exhausted
-**Two-phase turn model**: Each turn consists of a play/discard phase followed by a draw phase
490
+
-**Ascending-play rules**: Cards must be played in ascending order on expedition lanes; investment cards must be played before any numbered cards
491
+
-**Multi-round match**: 3-round match with cumulative scoring across rounds
492
+
-**Investment multipliers**: 1/2/3 investment cards multiply expedition score by x2/x3/x4
493
+
-**AI strategies**: Random (valid moves) and Greedy (discard-aware, avoids giving opponent useful cards)
494
+
-**Transcript recording**: Multi-round JSON transcripts capturing all actions and board states
495
+
496
+
### Running Lost Cities
497
+
498
+
```bash
499
+
npm run dev
500
+
```
501
+
502
+
Open `http://localhost:3000` and click the **Lost Cities** card on the game selector page. Select a card from your hand, then click an expedition lane to play or a discard pile to discard. Draw from the draw pile or a discard pile to complete your turn. The AI opponent plays automatically between your turns.
0 commit comments