Part 1: Talking to the Machine (Using AI)

Install an assistant, learn to ask well, and never trust it blindly

Learning to use a power tool before you build furniture with it

Part 2: Let's Make an Online Multiplayer Video Game

One real project, start to finish: a game with no server, that you can send to a friend

You have the tools. Now build the furniture, and let people sit on it

A09

Get Your Tools

Set up the three windows you will use for the whole game: the assistant that writes code, the editor that shows it, and your page in the browser.

A10

Create the Player

A square you can drive with the keyboard or your finger — and the way of cutting a feature into blocks that you will use for the whole rest of the game.

A11

Save the Game

Close the tab, open it again, and your square is exactly where you left it, still called by your name.

A12

Other People

A second square on your screen, driven by another person on another computer, with no server in the middle.

A13

Talking, Safely

Tap a phrase and it appears above your square on everyone else's screen — with a list of what can be said, and a check that drops anything else.

A14

Your Monster

The square becomes a monster, and its legs move when it walks.

A15

Walls

Walk into a rock and stop — and slide along it instead of sticking.

A16

The Map

A world far bigger than the screen, that slides past you as you walk.

A17

Sound

A footstep every time you walk, music when you ask for it, and a button that makes it all stop.

A18

Put It Online

Give your game a real address on the internet, and get a proper undo button while you are at it.

A19

Challenge Someone

Walk up to another player, press one key, and a fight screen opens on both computers at the same moment.

A20

Three Moves

Pick scissors, rock or paper, and see on the screen who won the round and why.

A21

Someone to Fight

A computer opponent, so there is always someone to fight even when nobody else is online.

A22

No Peeking

Optional: how two players lock in their moves before either is shown, so neither can win by waiting to see the other's.

Optional
A23

What We Didn't Build

The things this game deliberately does not have, what each one would have cost, and why leaving them out was the design.