A chapter-aligned game hub for the book. Each project teaches a new JavaScript concept while reinforcing the Vibe Coding workflow: visualize the game, identify the systems, build with AI assistance, then study, refine, and extend the code.
Randomness, DOM updates, betting logic, jackpot systems, and localStorage persistence.
Deck modeling, hand scoring, state transitions, dealer rules, and conditional game flow.
Probability, betting systems, payouts, and syncing a roulette wheel result with the game logic.
Array sorting, hand ranking, pattern detection, and draw-phase game flow.
Grid systems, tile rotation, connection rules, and puzzle validation.
Canvas rendering, keyboard movement, visibility mechanics, and dark-maze design.
Gravity, velocity, obstacle spawning, and collision logic in a fast arcade loop.
Resource management, risk and reward, grid movement, and event-driven outcomes.
Dynamic markets, cargo systems, pirate encounters, and ship upgrades.
Procedural exploration, hidden tiles, traps, relics, and extraction goals.
Decision tradeoffs, multiple variables, narrative pressure, and turn-based management.
Real-time canvas action, projectiles, enemy waves, score tracking, and collision checks.
Replay systems, state history, mirror enemies, and round progression.
Stealth mechanics, route replay, loop pressure, and key-to-vault puzzle design.
Capstone project with dice combat, hero selection, progression systems, and persistent campaign state.