golfgame/server
Aaron D. Lee 6950769bc3 Version 2.0.0: Animation fixes, timing improvements, and E2E test suite
Animation fixes:
- Fix held card positioning bug (was appearing at bottom of page)
- Fix discard pile blank/white flash on turn transitions
- Fix blank card at round end by skipping animations during round_over/game_over
- Set card content before triggering flip animation to prevent flash
- Center suit symbol on 10 cards

Timing improvements:
- Reduce post-discard delay from 700ms to 500ms
- Reduce post-swap delay from 1800ms to 1000ms
- Speed up swap flip animation from 1150ms to 550ms
- Reduce CPU initial thinking delay from 150-250ms to 80-150ms
- Pause now happens after swap completes (showing result) instead of before

E2E test suite:
- Add Playwright-based test bot that plays full games
- State parser extracts game state from DOM for validation
- AI brain ports decision logic for automated play
- Freeze detector monitors for UI hangs
- Visual validator checks CSS states
- Full game, stress, and visual test specs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 18:33:28 -05:00
..
middleware Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
models Fix V2 race conditions, auth gaps, serialization bugs, and async stats 2026-01-27 16:27:30 -05:00
routers Fix V2 race conditions, auth gaps, serialization bugs, and async stats 2026-01-27 16:27:30 -05:00
scripts Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
services Fix V2 race conditions, auth gaps, serialization bugs, and async stats 2026-01-27 16:27:30 -05:00
stores Fix V2 race conditions, auth gaps, serialization bugs, and async stats 2026-01-27 16:27:30 -05:00
tests Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
.env.example Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
ai.py Version 2.0.0: Animation fixes, timing improvements, and E2E test suite 2026-01-29 18:33:28 -05:00
auth.py Numerous WebUI animations, improvements, AI fixes, opporitunity cost-based decision logic, etc. 2026-01-25 17:37:01 -05:00
config.py Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
constants.py Additional house rules to accomodate more common game variants. 2026-01-26 20:13:30 -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 Additional flip on discard variant - endgame and updated rules.md and new rules page. 2026-01-26 01:01:08 -05:00
game.py Add "Put Back" button to cancel accidental discard draws 2026-01-27 19:02:25 -05:00
games.db More host UI refinements, fun logo animations, etc. 2026-01-26 17:03:30 -05:00
logging_config.py Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
main.py Version 2.0.0: Animation fixes, timing improvements, and E2E test suite 2026-01-29 18:33:28 -05:00
requirements.txt Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
room.py Version 2.0.0: Animation fixes, timing improvements, and E2E test suite 2026-01-29 18:33:28 -05:00
RULES.md Early Knock house rule and improved error handling. 2026-01-26 22:23:12 -05:00
score_analysis.py Additional flip on discard variant - endgame and updated rules.md and new rules page. 2026-01-26 01:01:08 -05:00
score_distribution.png Numerous WebUI animations, improvements, AI fixes, opporitunity cost-based decision logic, etc. 2026-01-25 17:37:01 -05:00
simulate.py Additional flip on discard variant - endgame and updated rules.md and new rules page. 2026-01-26 01:01:08 -05:00
test_analyzer.py Numerous WebUI animations, improvements, AI fixes, opporitunity cost-based decision logic, etc. 2026-01-25 17:37:01 -05:00
test_auth.py Numerous WebUI animations, improvements, AI fixes, opporitunity cost-based decision logic, etc. 2026-01-25 17:37:01 -05:00
test_game.py Fix V2 race conditions, auth gaps, serialization bugs, and async stats 2026-01-27 16:27:30 -05:00
test_house_rules.py Additional flip on discard variant - endgame and updated rules.md and new rules page. 2026-01-26 01:01:08 -05:00
test_maya_bug.py Numerous WebUI animations, improvements, AI fixes, opporitunity cost-based decision logic, etc. 2026-01-25 17:37:01 -05:00