Commit Graph

14 Commits

Author SHA1 Message Date
Giancarmine Salucci
a045efd798 feat(ai): improve all difficulty levels with race tracking, probabilistic threats, deeper search
SCOPONE-0005 iteration 7

Beginner:
- Random chance 15%→8%, noise ±40%→±25%
- Hard settebello protection, anti-scopa table management

Advanced:
- Race-aware scoring: adapt priorities per scoring category
- Partner scopa setup: +70 bonus for clearable table before partner
- Probabilistic two-opponent threat assessment (hypergeometric)
- Stronger anti-scopa penalties across all table states

Master:
- Samples 16→24 (28 endgame), exact solve ≤6 cards
- Depth 6→8 (10 endgame, full depth ≤6 cards)
- Better evaluation: scope 350, settebello 400, table awareness
- Improved move ordering: settebello + anti-scopa factors
2026-03-31 23:26:42 +02:00
Giancarmine Salucci
0b1c7f6386 feat(SCOPONE-0005): iteration 6 — rewrite AI with team cooperation and deeper search 2026-03-31 23:15:45 +02:00
Giancarmine Salucci
d80d4df6bd feat(SCOPONE-0005): iteration 5 — sort hand by value then suit 2026-03-31 23:05:00 +02:00
Giancarmine Salucci
c3a79b028b feat(SCOPONE-0005): iteration 4 — sort hand cards by suit then value 2026-03-31 23:01:15 +02:00
Giancarmine Salucci
2f58da8a63 feat(SCOPONE-0005): complete iteration 3 — restore labels, move turn bar below cards 2026-03-31 22:42:12 +02:00
Giancarmine Salucci
138f28542a feat(SCOPONE-0005): complete iteration 2 — move turn indicators below player cards 2026-03-31 22:38:37 +02:00
Giancarmine Salucci
9c096b88bf feat(SCOPONE-0005): complete iteration 1 — move player indicators into table 2026-03-31 22:36:16 +02:00
Giancarmine Salucci
0a030d0f01 feat(SCOPONE-0005): complete iteration 0 — AI mastery levels, score bar fix, difficulty selection 2026-03-31 22:22:24 +02:00
Giancarmine Salucci
6c01044c71 fix(SCOPONE-0004): improve UI text readability and score bar contrast
- MenuScene: add resolution: 2 to all text styles for crisp rendering
- GameScene score bar: solid opaque background, brighter column headers (#999999), visible gold separator (alpha 0.7), resolution: 2
- GameScene player labels: reposition to viewport edges (South bottom, West left, East right), North after cards near table
- Add resolution: 2 to all player label text styles
2026-03-31 21:34:18 +02:00
Giancarmine Salucci
54a55b9269 Merge branch 'feature/SCOPONE-0003_choose_capture_target' into feature/SCOPONE-0002_rotate_round_starter 2026-03-31 21:07:44 +02:00
Giancarmine Salucci
21384c8191 chore: update findings and atlas 2026-03-31 21:07:28 +02:00
Giancarmine Salucci
9524161481 feat(SCOPONE-0003): allow player to choose capture target
- findCaptures() returns each direct match as separate option plus sum subsets
- highlightMultipleCaptures() uses distinct colors per capture option
- clicking highlighted table cards confirms that option's capture
2026-03-31 19:59:38 +02:00
Giancarmine Salucci
529b93e662 feat(SCOPONE-0002): rotate starting player clockwise each round 2026-03-31 19:31:00 +02:00
Giancarmine Salucci
3d1f3e5eb4 chore: initial commit 2026-03-31 18:38:34 +02:00