golfgame/client
adlee-was-taken 8d5b2ee655 Fix AI knock decisions and improve round-end animations
Fix dumb AI knocks (e.g. Maya knocking on 13 points) by adding opponent
threat checks and a hard cap of 10 to should_knock_early(). Remove dead
should_go_out_early() call whose return value was never used. Retune knock
chance tiers to be more conservative at higher projected scores.

On the client side, fix round-end reveal sequencing so the last player's
swap/discard animation plays before the reveal sequence starts, and prevent
re-renders from clobbering swap animations during reveals. Also make the
turn-pulse shake configurable via timing-config and target only cards.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:07:57 -05:00
..
admin.css Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
admin.html Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
admin.js Fix CSP blocking admin panel buttons by removing inline onclick handlers 2026-02-21 23:56:45 -05:00
animation-queue.js Timing and animation changes for a more natural feeling game with CPU opps. 2026-01-31 12:22:54 -05:00
ANIMATIONS.md v3.0.0: V3 features, server refactoring, and documentation overhaul 2026-02-14 10:03:45 -05:00
anime.min.js Migrate animation system to unified anime.js framework 2026-02-01 22:57:53 -05:00
app.js Fix AI knock decisions and improve round-end animations 2026-02-23 19:07:57 -05:00
card-animations.js Fix AI knock decisions and improve round-end animations 2026-02-23 19:07:57 -05:00
card-manager.js Fix mobile portrait layout: lobby overlap, deal animation, card font sizes 2026-02-21 22:52:44 -05:00
golfball-logo.svg Refine golf ball logo and add static route 2026-01-27 12:51:10 -05:00
index.html Fix typo: Bare -> Bear 2026-02-22 21:35:50 -05:00
leaderboard.js v3.1.0: Invite-gated auth, Glicko-2 ratings, matchmaking queue 2026-02-21 20:02:10 -05:00
replay.js Huge v2 uplift, now deployable with real user management and tooling! 2026-01-27 11:32:15 -05:00
state-differ.js v3.0.0: V3 features, server refactoring, and documentation overhaul 2026-02-14 10:03:45 -05:00
style.css Add gradient backgrounds to all status messages, match final-turn badge size 2026-02-22 21:31:20 -05:00
timing-config.js Fix AI knock decisions and improve round-end animations 2026-02-23 19:07:57 -05:00