Game Development

Build real games with JavaScript and the HTML canvas, starting from two games you can play right now.

This is hands on game development, not theory. Every idea here, the game loop, drawing on the canvas, handling input, detecting collisions, managing state, and networking for multiplayer, is shown in working code and demonstrated by a game you can play in your browser. Start by playing a demo, then read how it is built, piece by piece, and finally see what changes when a game goes networked. Everything uses plain browser APIs with no engine and no build step.

Game development pathFrom a playable demo to the game loop, then rendering and input, then multiplayer. play a demo game loop render and input multiplayer
Play a game, then read how each part is built, all the way to networked multiplayer.

Playable demos

Build a game, step by step

Going multiplayer

Explore related learning

Coding really can build games.

Play the solo Breakout demo, then read the loop that drives it.

Play: Breakout →