Commit Graph

13 Commits

Author SHA1 Message Date
Brian Fertig 320891bf2a
Add speech cues and audio config for slots machines
- Wire up intro, big-win, tumble, scatter, coin, wild, and per-symbol
  line-win speech clips across Pharaoh's Fortune, Dragon's Hoard, Gold Rush,
  Sugar Spin, and Abyssal Treasures.
- Generalize `playSpinCues` to resolve tiered cue maps (pyramids, coins) and
  new `symbolWins` / `wild` cues; support `{ file, chance }` entries so
  common one-dynamite callouts only fire ~40% of the time.
- Track tumble number during cascade steps and fire per-tumble Sugar Spin
  clips as each tumble occurs.
- Expose `wilds` count on line-win results in `SlotsLogic.evaluateLines` so
  wild participation can be detected for cue selection.
- Rename `dragons-intro.mp3` to `dragon-intro.mp3` to match naming scheme.
2026-11-27 00:51:02 -07:00
Brian Fertig 14f098e3f1
Rename Scrabble to Wordsmith and rebuild the game as a Reading Room table
- New baked-canvas art (ScrabbleArt), HUD (score sheet, tile tracker, seats, preview tag), dialogs, end screen with coach review, Web Audio SFX, and layout constants replace the old flat Phaser scene
- Split rules into a JSON-safe state machine in ScrabbleLogic (seeded RNG for resumable saves) plus challenge-rule modes (friendly / double / five-point)
- Rewrite the move engine: anchor-based generator with incremental scoring, skill-tiered vocabularies, leave-value equity, plausible phonies, and challenge judgement; add hint, judge, two-letter, and AI-challenge routes
- Add a verifier (tools/verifyWordsmith.js) that soaks full games, checks the generator against a brute-force reference, runs a skill ladder, and validates layout overlap
2026-11-26 12:33:07 -07:00
Brian Fertig 0a421a3392
Redesign word search as "The Rail Edition" puzzle book
- Replace the plain grid UI with a train-carriage scene: baked carriage art, scrolling window view (clouds/far/mid/near/poles), tunnel dips, rail-bed audio, and a spiral-bound book with cover, contents page, and page-turn animation
- Add 15 themed chapters (space through castles) with per-chapter inks, fun-fact words, and secret-message phrases; the generator now packs words so leftover cells spell the message instead of random filler letters
- Introduce four ticket classes (Local/Express/Intercity/Sleeper), a seeded "Today's Route" daily with streak tracking, autosave/resume, hints, scoring, and stats per class and chapter
- Add Web Audio synths for pencil ticks, highlighter swipes, train whistle, letter pings, and the carriage rumble/clack bed (no audio files)
- Extend the server route to accept an optional seed and return ink, message, facts, and seed; move theme data to a shared module
- Add tools/verifyWordSearch.js covering chapter data, generator correctness/perf, selection machine, save/resume validation, daily streaks, layout, art bakes, and a stubbed-Phaser play-through
- Add new opponent convo speech files (juliet-croc/nadia/smasher, michael-bernie) and wire convo entries into opponents.json
2026-11-26 11:21:04 -07:00
Brian Fertig c530bc5b30
Overhaul Mexican Train: full kitchen-table art, skill-based AI, and house rules 2026-11-25 17:06:41 -07:00
Brian Fertig df725cb013
Add audio assets for slots games (music and speech)
- Add background music tracks: abyssal-treasures, dragons-hoard, sugar-spins
- Add speech clips for win announcements, features, and intros across Abyssal, Dragon's Hoard, Gold Rush, and Sugar Spins
2026-11-25 15:33:13 -07:00
Brian Fertig e0fd2e5573
Add per-machine audio system with Gold Rush Gulch theme and speech cues
- Introduce an `audio` block on each machine definition to hold optional
  music, intro, bandit, and dynamite clip paths.
- SlotsGame now plays a per-machine theme track when the view opens and
  falls back to the shared soundtrack pool otherwise.
- Play one-shot intro cue and sequential spin cues (bandit discovery then
  tiered dynamite) after reels stop; cues queue so they never overlap.
- Suppress the stock sticky-wild sfx on Gold Rush Gulch since the bandit
  speech cue replaces it.
- Add music and speech assets for Gold Rush Gulch (theme, intro, bandit,
  one/two/triple dynamite).
2026-11-24 18:19:42 -07:00
Brian Fertig ce14631544 Expand Master of Vega tutorial to cover full gameplay loop
- Add ~25 new steps: nearby stars, pan/zoom lesson, star info, fleet movement, home star/system view, colony management (allocation, focus), end turn, and the full Empire menu tour (Research, Diplomacy, Leaders, Colonies)
- Introduce hotspotAction, starPick, advanceOn modes (starPick/fleetInFlight/external), and advanceAction fields in tutorial data schema with validation
- Add VegaStarMap.fitToWorldBounds and extend pickFitZoomIndex to support a narrowed viewport area so the reachable-stars frame avoids the docked panel
- Bypass openModal gating for System View, Colony View, and Empire screens by calling their open functions directly from VegaTutorial; wire onClose/onColonyOpen callbacks to advance()
- Add tutorialFreePan flag so pan/zoom work during the free-pan step while all other map interactions stay frozen
- Add multi-target resolution (nearbyStars returns an array), invisible-shape holes, and per-star click hotspots in the tutorial overlay
- Update verification script to allow buttonless modal steps that advance via external callbacks
2026-08-29 11:11:25 -06:00
Brian Fertig 58902075e5 Add Tents sound effects and intro jingle
- Add dedicated place, remove, win, and puzzle-start intro audio assets
- Register the new cues in the asset manifest and SFX key map
- Replace generic UI sounds with Tents-specific cues for placement, removal, and win
- Play the intro jingle on startGame, ducking the soundtrack until it completes
- Update smoke tests to assert the new jingles and cues fire
2026-08-28 21:09:04 -06:00
Brian Fertig d8d127f33a feat(mastervega): add research choice prompts, Delaunay-controlled-space corridors, and map UX improvements
- Introduce VegaResearchChoiceScreen for ambiguous tech selections: when
  a player completes research that opens a 2+ way choice rung, they're
  prompted before the turn report to pick their next technology.

- Add VegaDelaunay.js (Bowyer-Watson Delaunay triangulation) and use it
  in VegaStarMap to draw "controlled space" corridors/fills between the
  player's own colonized stars instead of a blanket radius.

- Improve star map UX: stagger docked fleet markers per-star, add
  PAN_SLACK so edge stars can be dragged out from under the side panel,
  and show colony info bars at mid-zooms with text only at near-zoom.

- Add `closable` option to modalShell so forced-choice screens can
  suppress the ✕ button.

- Export buildVideoPanel from VegaResearchScreen for reuse by the new
  choice screen.

- Update artwork JSON: rrashaa and cerebrai audience videos now use
  species-specific clips; add intro-human.mp3 and new video assets.

- Add tests for openResearchChoices and pendingResearchChoices filtering
  logic in verifyMasterOfVega.js.
2026-08-08 08:39:45 -06:00
Brian Fertig 35cc4d2446 Updates to speech and video 2026-08-07 14:03:28 -06:00
Brian Fertig d789da4582 feat(masterofvega): add species portraits, speech, landing screen, and music
- Add video, still, and procedural three-tier portrait system for all 10 species
- Add species-specific speech clips and UI voiceover (SpeechQueue integration)
- Add landing screen with New Game / Resume / Return to Arcade buttons
- Add species detail pop-over with animated expand/collapse and auto-introduction
- Add game-specific soundtrack (masterofvega-music.json, 4 tracks)
- Add video asset type support in assetLoader and PreloadScene
- Add portraitVideos and portraitStills sections to artwork manifest
- Add verification for portraits, speech clips, and music tracks
- Update sprites.md with documentation for new assets and filenames
2026-08-02 00:04:06 -06:00
Brian Fertig 376f878a70 feat: add Jumble word puzzle game with 58 curated levels
Unscramble 4 base words, then collect circled letters to solve a riddle
bonus answer. Includes a seeded puzzle generator (tools/genJumble.js),
a verifier (tools/verifyJumble.js), and 58 procedurally generated levels
with progressive difficulty.

Also:
- Fix Pai Gow Poker seat rendering to only draw active seats
- Reduce Pai Gow max players from 6→5, max opponents from 5→4
- Add track 19 ("Down the Line" by Journey) to music
- Add Michael opponent voice lines (terry, victor)
- Update game-icons sprite sheet
2026-06-30 19:42:57 -06:00
Brian Fertig 52c78ae86a Major Port 2026-06-28 19:27:29 -06:00