UI polish: opponent draw flash, compact house rules with suit separators, toast styling.
- Opponent draw highlight: scale + outline flash animation - House rules reorganized: Gameplay, Jokers, Card Values, Bonuses & Penalties - Compact inline rule descriptions with alternating suit separators (♣♦♠♥) - Wolfpack + Four of a Kind combo note when both selected - Toast notifications now yellow/green with charcoal text - Brief pause after AI draw for visual feedback Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1073,7 +1073,9 @@ async def process_cpu_turn(
|
||||
return
|
||||
|
||||
await broadcast_callback()
|
||||
await asyncio.sleep(0.4 + random.uniform(0, 0.4))
|
||||
# Brief pause after draw to let the flash animation register visually
|
||||
await asyncio.sleep(0.08)
|
||||
await asyncio.sleep(0.35 + random.uniform(0, 0.35))
|
||||
|
||||
# Decide whether to swap or discard
|
||||
swap_pos = GolfAI.choose_swap_or_discard(drawn, cpu_player, profile, game)
|
||||
|
||||
Reference in New Issue
Block a user