golfgame/client
Aaron D. Lee f4275c7a7d Refactor card values to single source of truth, fix ten_penny bug
- Add constants.py as the single source of truth for card values
- Derive RANK_VALUES from DEFAULT_CARD_VALUES instead of duplicating
- Add centralized get_card_value() function in game.py for Card objects
- Add get_card_value_for_rank() in constants.py for string-based lookups
- Fix bug: AI ten_penny returned 0 instead of 1 per RULES.md
- Update ai.py and game_analyzer.py to use centralized functions
- UI improvements for client

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 20:26:17 -05:00
..
app.js Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00
index.html Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00
style.css Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00