Three.js Game Examples

These playable games show how three.js handles real interactivity: input, game state, collision detection, scoring and restarting. They range from arcade classics rebuilt in 3D, such as Pong, Tetris, Breakout, Snake and Asteroids, to puzzles like Minesweeper, chess and a fully turnable Rubik's Cube.

Bigger examples include tower defense, a flight simulator with an arcade flight model, and a racing game with AI opponents on a spline track. Each page explains the game loop and mechanics behind it, so you can use them as starting points for your own browser games.

Most viewed in games & interactive

All games & interactive demos

18 Demos
Pong 3D preview
Explore Demo →

Pong 3D

Classic arcade game reimagined in 3D space with realistic physics, AI opponent, and interactive controls.

games
Marble Maze preview
Explore Demo →

Marble Maze

Tilt the mahogany board to guide the silver marble through a challenging logic maze.

games
3D Tetris preview
Explore Demo →

3D Tetris

Stacking blocks in three dimensions — a spatial reasoning puzzle in a glass container.

games
Breakout 3D preview
Explore Demo →

Breakout 3D

Smash a wall of colorful 3D bricks with a bouncing ball and a sliding paddle.

games
Snake 3D preview
Explore Demo →

Snake 3D

Slither through a neon 3D grid, consuming energy cubes to grow while avoiding the walls and your own tail.

games
Pac-Man 3D preview
Explore Demo →

Pac-Man 3D

Navigate a 3D neon maze, collect pellets, and avoid the ghosts in this spatial reimagining of the classic.

games
Missile Command 3D preview
Explore Demo →

Missile Command 3D

Defend the metropolis from a barrage of incoming ballistic missiles using interceptor rockets and tactical explosions.

games
Target Gallery preview
Explore Demo →

Target Gallery

Test your reflexes in this 3D shooting gallery. Click on rapidly moving targets and clear the field before time runs out.

games
Stacking Challenge preview
Explore Demo →

Stacking Challenge

How high can you go? Stack sliding blocks with pixel-perfect precision. Any overhang is sliced off!

games
3D Bowling preview
Explore Demo →

3D Bowling

Realistic physics-based bowling. Aim your throw, add some spin, and try for a strike!

games
Space Invaders 3D preview
Explore Demo →

Space Invaders 3D

A voxel-based orbital shooter. Defend your sector from descending grids of alien invaders.

games
Minesweeper 3D preview
Explore Demo →

Minesweeper 3D

The classic logic puzzle, reimagined as a 3D block. Reveal all safe tiles without hitting a mine!

games
Tower Defense preview
Explore Demo →

Tower Defense

Strategic defense game. Place automated turrets along a path to stop waves of incoming enemies.

games
Asteroids 3D preview
Explore Demo →

Asteroids 3D

Classic space shooter in 3D. Pilot your ship through a field of drifting asteroids and clear the sector.

games
Rubik's Cube preview
Explore Demo →

Rubik's Cube

A fully interactive and solvable 3D Rubik's Cube puzzle.

games
Chess 3D preview
Explore Demo →

Chess 3D

A beautiful 3D chess board for interactive play. Grab and move pieces across the board.

games
Three.js Flight Simulator (Arcade Flight Model) preview
Explore Demo →

Three.js Flight Simulator (Arcade Flight Model)

Fly a light aircraft over procedural mountains in Three.js with a simple 6-DoF flight model of thrust, lift from angle of attack, drag, stall and gravity, a chase camera, a ring course down a river valley and an autopilot.

games
Three.js Racing Game (Spline Track, AI Opponents) preview
Explore Demo →

Three.js Racing Game (Spline Track, AI Opponents)

A Three.js racing game on a closed Catmull-Rom circuit with kerbs and a start gantry, a grip-limited car handling model, pure-pursuit AI opponents that brake for corners, lap timing, and chase, cockpit and overhead cameras.

games