golfgame/server
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
..
ai.py Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00
constants.py Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00
game_analyzer.py Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00
game_log.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
game.py Refactor card values to single source of truth, fix ten_penny bug 2026-01-24 20:26:17 -05:00
main.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
requirements.txt Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
room.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
RULES.md Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
score_analysis.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
simulate.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
test_analyzer.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
test_game.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
test_house_rules.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00
test_maya_bug.py Initial commit: 6-Card Golf with AI opponents 2026-01-24 19:30:13 -05:00