Commit Graph

9 Commits

Author SHA1 Message Date
Brian Fertig e46cd1cc2f feat(bingo): add countdown timer, opponent match flash, and fullscreen fix
- Add a 10-second countdown timer between ball draws with a dedicated UI overlay
- Implement visual flash effect on opponent panels when their cards match the called number
- Play happy emotion animation on opponent portraits during matches
- Replace CASINO_WIN/LOSE sounds with CASINO_BLACKJACK for win/loss events
- Fix fullscreen toggle to properly handle exitFullscreen and requestFullscreen
- Add new video assets for opponent emotions (happy, idle, upset)
2026-05-25 13:21:26 -06:00
Brian Fertig 3022e0eb23 fix: play casino win sound on successful bingo mark
- Replace `playChipBet` with `playSound(this, SFX.CASINO_WIN)`
- Provides appropriate audio feedback when a human player successfully marks a square
2026-05-25 11:41:34 -06:00
Brian Fertig e1f7534853 feat: add bingo ball spinning sound effect
- Add `sfx-bingo-balls` audio asset and load it in PreloadScene
- Register `BINGO_BALLS` sound in the SFX constants
- Play the sound when the bingo ball spinning animation starts
2026-05-25 11:30:58 -06:00
Brian Fertig 3b113a1092 refactor: resize and reposition mini bingo card background
- Reduce mini card dimensions from 125x125 to 90x90 pixels
- Adjust positioning coordinates from (px+54.5, py+34.5) to (px+28, py+8)
- Improves visual alignment and spacing of opponent's bingo card in the UI
2026-05-25 11:19:25 -06:00
Brian Fertig 57c9d85864 fix(bingo): adjust visual styling and formatting
- Update player card background border radius from 5 to 15 for smoother corners
- Change called numbers board background color from cream to black for better contrast
- Remove unnecessary whitespace in `init()` and physics calculation lines (code cleanup)
2026-05-25 11:05:53 -06:00
Brian Fertig ebe387f5fe feat(bingo): add cream-colored backgrounds to game UI elements
- Add cream white background behind the player's bingo card
- Add cream white background behind opponent mini-cards
- Add cream white background behind the called numbers board
- Adjust player card header position (HEADER_Y, ROW0_Y) to accommodate new layout
2026-05-25 11:02:34 -06:00
Brian Fertig 166da6fd0d Narrow master called-numbers board columns
- Reduce column step width from 90px to 58px
- Reduce cell width from 84px to 44px
- Keeps cell height unchanged at 44px
2026-05-25 10:48:07 -06:00
Brian Fertig 00e6607a48 Adjust Bingo game layout positioning
- Move human card header up by 20px (HEADER_Y: 140 -> 120)
- Shift master called-numbers board letters left by 30px (CB_LETTER_X: 540 -> 510)
2026-05-25 10:44:35 -06:00
Brian Fertig 91dac1f2e3 feat: add Bingo game with AI opponents and physics-based drum
Introduce a new Bingo game featuring a physics-driven drum with Matter.js,
AI opponents that auto-daub and claim wins with suspenseful delays, and a
"claim race" mechanic where the human can beat AI to the punch. Includes
complete game logic, UI components (drum, card, opponent panels, called
numbers board), and server registration for the new game slug.
2026-05-25 10:38:08 -06:00