Computer difficulty levels and hidden strategies #31

Merged
devadmin merged 2 commits from feature/ai-difficulty into dev 2026-11-07 23:26:08 -06:00
2 Commits
Author SHA1 Message Date
Claude 961ac96689 Merge remote-tracking branch 'origin/dev' into feature/ai-difficulty
CI / Deploy to Cloudflare Pages (pull_request) Skipped
CI / Build and check (pull_request) Successful in 11m1s
2026-11-08 05:14:49 +00:00
Claude e1c325825f Computer difficulty levels and hidden per-seat strategies
Every game with computer opponents gains a setup choice (Easy, Medium, Hard,
Mixed), carried in TableConfig.aiDifficulty and through the host lobby. Each
computer seat gets a level and a hidden style (balanced, aggressive, cautious,
spoiler) derived from the table seed, so saves and hosted tables reproduce it.
Medium plays exactly as each AI did before. Easy plays weaker and slips
plausibly; Hard searches deeper or counts cards, never using hidden
information. Covers Chess, Checkers, Morris, Backgammon, Pirates, Katan (base,
Cities & Knights, Seafarers), Euchre, Kaiser, Wizard, Hearts, President, Crazy
Eights, Golf, Cribbage, Sequence, Tayu and Yahtzee.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TWwLCrXa9aFVg8dZsCdLBZ
2026-11-08 05:14:49 +00:00