How a web game works
Four ideas are behind every web game. Read them together. You don’t need to remember them.
Code is the game’s instructions
Section titled “Code is the game’s instructions”A game is made of code: text that tells a computer what to do. Claude writes it. The code lives in your game’s repository, a folder on GitHub.

Hosting puts your game on the web
Section titled “Hosting puts your game on the web”GitHub keeps a copy of your game on its computers, at a web address. This is called hosting. When a friend opens the address, their browser fetches the game and runs it.

Saves stay on your device
Section titled “Saves stay on your device”Your player and best scores are saved in the browser of the device you play on. Many apps use a database, a store on a server. Games from the starter template have none. So a save on the tablet is not on the laptop.

A change goes in when you merge
Section titled “A change goes in when you merge”Claude never changes your game straight away. It makes each change on a copy, called a branch. You read what it changed, together. If you like it, you merge it: one button on GitHub adds the change to your game. A minute or two later, it is on the web.

Next: what you need, and the steps to your first game.