Beginner Track

Your First HTML5 Game

A step-by-step roadmap to build a complete game from scratch. No frameworks, just pure JavaScript and Canvas.

1

Tools & Setup

5 min

Setting up VS Code and creating your project structure.

Start Tutorial
2

Drawing & Movement

10 min

Coordinate systems, clearing the canvas, and moving rectangles.

Start Tutorial
3

The Game Loop

15 min

Understanding requestAnimationFrame and the heartbeat of every game.

Start Tutorial
4

Collision Detection

20 min

AABB (Axis-Aligned Bounding Box) collision logic.

Start Tutorial
5

Input Controls

10 min

Record keyboard input and use it inside the game loop.

Start Tutorial
6

Game State & Score

10 min

Keep score, restart cleanly, and know when a game has ended.

Start Tutorial
7

Build Snake

Project

Combine the pieces in a small game you can play and improve.

Open Project Route