Cover of Vibe Coding Your First Game: Build a Real 2D Adventure Game With AI, From One Room to a Finished World (Vibe Coding Workshop)

free

Vibe Coding Your First Game: Build a Real 2D Adventure Game With AI, From One Room to a Finished World (Vibe Coding Workshop)

by Alden Hayes

Available until today. Available until 11/8/2026.

You'll finish this book with a game you made. Vibe Coding Your First Game is a full-color, hands-on course. You build one real 2D adventure game with an AI assistant, one feature at a time: you tell the AI what to build, read what it writes, test it, fix it and make it yours. By the last level your game runs in a browser and on a phone, and you know how every part of it works, because you asked for it, read it, tested it and fixed it. The game is Moonbase Reboot. A power surge has left a small Moon base silent. Rivet, a repair robot, wakes up with a low battery and one job: switch the five power nodes back on. You build its whole world, from one dark room to a final boss. Five worlds, fifteen levels, one game The Airlock: a room drawn from rows of numbers, walls, a keycard and a door. By the end of this world you have a game you can win. The Habitat: a camera, rooms joined by doors, and Tally, an old robot to talk to. The Surface: a battery for health, enemies on patrol, parts to carry and a goal to repair. The Mines: a push puzzle, sound and music made in code, menus, and a save that survives closing the page. The Core: a boss with three phases, game feel, buttons for a phone, and an address anyone can open. One method, level after level Every level is one trip around the Build Loop, in ten pages: what the level adds, the new words, the plan, the prompt to type, an example of what comes back, how to read the code, the checks to run, what to fix and improve, challenges of your own, and a Save Point. Real bugs, real fixes Each world ends with a Boss Fight: a real bug from a real version of the game. Rivet runs faster on the diagonal. A talk is over before anyone can read it. One touch empties the battery. The title screen is silent. A thumb slides on a phone's button and Rivet stops. You report each bug with the Bug Report Prompt, find the cause and fix it, so you can do the same with your own. Honest from the first page to the last Every screenshot comes from a working version of the game. Every code listing is cut from a real file, with its real line numbers. Every number comes from a test that ran on that version. Every AI reply is labeled as an example: yours will be worded differently. Then, your own game The last part of the book is for what you build next: the Ten Steps for games, a game checklist of 46 points, a glossary of 76 words, and ten small game ideas, each with what it reuses and its first slice. What you need A computer, a web browser, a code editor and an AI assistant of your choice. No game engine, no libraries and nothing to install, and you don't have to draw: a sprite pack of 17 sheets comes ready to use. No coding experience needed. Book 1, Vibe Coding for Beginners, helps but isn't required. Book 2 of the Vibe Coding Workshop series.