fertig-classic-games/public
Brian Fertig 519dd617d2 feat(farkel): overhaul turn scoring with combined cycle logic and explain panel
- Replace turn.kept running sum with priorKept + selectionScore model so the
  banked total always reflects all set-aside dice in the current cycle, enabling
  higher N-of-a-kind bonuses when extending sets.
- Update bestScoring and hasScoring to consider setAsideDice; use brute-force
  subset search (feasible for ≤6 dice) instead of greedy strategy for correctness.
- Add breakdownScoring helper to decompose a combined dice set into labeled groups.
- Add updateExplainPanel showing "Prior rolls", scoring groups, and total with
  "(need 500)" note when off-board requirement isn't met; format scores >999 as K,DDD.
- Refactor selectionScore/selectionValid to score the combined set (setAsideDice + selection).
- Use bestScoring(rolled, setAsideDice) in onScoreAll and AI for optimal picks.
- Fix scratch paper preview to use priorKept + selectionScore consistently.
- Add hot dice handling: carry cycle score into priorKept and reset setAsideDice.
- Slots: guard card artwork loading to avoid errors when texture is missing; adjust bulb positions accordingly.
2026-06-13 12:25:25 -06:00
..
assets feat(farkel): overhaul turn scoring with combined cycle logic and explain panel 2026-06-13 12:25:25 -06:00
data feat(farkel): overhaul turn scoring with combined cycle logic and explain panel 2026-06-13 12:25:25 -06:00
src feat(farkel): overhaul turn scoring with combined cycle logic and explain panel 2026-06-13 12:25:25 -06:00
android-chrome-192x192.png Added Favicons 2026-05-24 11:18:57 -06:00
android-chrome-512x512.png Added Favicons 2026-05-24 11:18:57 -06:00
apple-touch-icon.png Added Favicons 2026-05-24 11:18:57 -06:00
favicon-16x16.png Added Favicons 2026-05-24 11:18:57 -06:00
favicon-32x32.png Added Favicons 2026-05-24 11:18:57 -06:00
favicon.ico Added Favicons 2026-05-24 11:18:57 -06:00
index.html refactor: remove multiplayer and Socket.IO in favor of single-player AI games 2026-05-20 18:57:41 -06:00
styles.css feat: add tutorial modal system and register battleship game 2026-05-31 00:04:01 -06:00