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
Classic arcade game reimagined in 3D space with realistic physics, AI opponent, and interactive controls.
Marble Maze
Tilt the mahogany board to guide the silver marble through a challenging logic maze.
3D Tetris
Stacking blocks in three dimensions — a spatial reasoning puzzle in a glass container.
Breakout 3D
Smash a wall of colorful 3D bricks with a bouncing ball and a sliding paddle.
Snake 3D
Slither through a neon 3D grid, consuming energy cubes to grow while avoiding the walls and your own tail.
Pac-Man 3D
Navigate a 3D neon maze, collect pellets, and avoid the ghosts in this spatial reimagining of the classic.
Missile Command 3D
Defend the metropolis from a barrage of incoming ballistic missiles using interceptor rockets and tactical explosions.
Target Gallery
Test your reflexes in this 3D shooting gallery. Click on rapidly moving targets and clear the field before time runs out.
Stacking Challenge
How high can you go? Stack sliding blocks with pixel-perfect precision. Any overhang is sliced off!
3D Bowling
Realistic physics-based bowling. Aim your throw, add some spin, and try for a strike!
Space Invaders 3D
A voxel-based orbital shooter. Defend your sector from descending grids of alien invaders.
Minesweeper 3D
The classic logic puzzle, reimagined as a 3D block. Reveal all safe tiles without hitting a mine!
Tower Defense
Strategic defense game. Place automated turrets along a path to stop waves of incoming enemies.
Asteroids 3D
Classic space shooter in 3D. Pilot your ship through a field of drifting asteroids and clear the sector.
Rubik's Cube
A fully interactive and solvable 3D Rubik's Cube puzzle.
Chess 3D
A beautiful 3D chess board for interactive play. Grab and move pieces across the board.
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.
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.