Commit Graph

3 Commits

Author SHA1 Message Date
Brian Fertig 9a97775ec9 feat(balatro): add hover tooltips, scoring hum, and chip shake
- Add Balatro-style hover tooltips for cards, jokers, consumables, shop
  items, packs, and vouchers with detailed stat information
- Add a looping energy hum that climbs in pitch with the running score
- Add visual jitter to chips/mult boxes that intensifies with the hum
- Improve scoring animation by grouping events per card/joker anchor
- Stamp joker UIDs onto events for proper animation anchoring
- Add drag distance threshold to prevent accidental joker drags
2026-07-10 15:46:49 -06:00
Brian Fertig 29a242b9f5 feat: add card dealing and discarding animations
- Implement sequential deal animation with cards flying in from off-screen
  and rotating 400° before landing
- Add discard animation where selected cards fly to screen center then
  shrink away
- Animate played cards flying from their hand positions to the played row
  instead of popping into place
- Track pending deals via _pendingDeal to coordinate animations with
  game state updates in doDiscard, doPlay, and blind selection
2026-07-09 23:00:12 -06:00
Brian Fertig 160f6010b1 feat: add Balatro — poker roguelike game
Implement a complete Balatro clone with:
- Pure logic engine (BalatroLogic.js): seeded RNG, ante/blind state machine,
  shop, consumables, boss-blind hooks, save/load, endless mode
- Scoring pipeline (BalatroScoring.js): full poker evaluator (including secret
  hands, wilds, stones, smeared/fourFingers/shortcut passives) and chips×mult
  trace for deterministic scoring animation
- 114 Joker definitions with rich effect hooks (onScored, onHeld, independent,
  cardRetriggers, scaling state, copy via Blueprint/Brainstorm)
- 22 Tarots, 12 Planets, 15 Spectrals, 8 decks, 16 vouchers, 10 booster pack
  types, 20 boss blinds + 3 finishers
- Phaser scene with procedural card/Joker rendering, art-frame drop-in support,
  melty swirl background shader, and trace-based replay animation
- Headless verification suite (tools/verifyBalatro.js) with evaluator table
  tests, scoring goldens, 200-bot smoke test, determinism & mid-run serialize
  round-trip checks, and endless scaling tests
- Tutorial text and sprite-sheet layout documentation
2026-07-09 22:43:36 -06:00