Initializing, please wait a moment

Space Pi Defense is a mouse-accuracy base defense game in the browser: click and drag to draw lines that stop enemy rays, grow your base to the target radius across 13 levels, collect coins for upgrades, and grab timed powerups. About ~60 KB after Play, no install, no account.

Prefer a twin-stick space shooter instead? Try Orbital Radius Shooter.

SPACE PI DEFENSE

js13k SpacePi by Jack Rugile (MIT). Draw defensive lines, grow the base, spend coins on upgrades across 13 levels. About ~60 KB downloads once from this site when you press Play. Progress stays in your browser.

Click-drag to draw lines (power limited). Space pauses. A mouse or trackpad works best; canvas is 960x600.

Press Play to load the game.
Saves use ftol:spacepidefense:user.

Welcome - press Play to load Space Pi Defense. Progress saves in this browser under ftol:spacepidefense:user.

← Back to Games

Related tools:

  • Snake Classic - Snake Classic - Press an arrow key (or swipe on a phone) and the game starts instantly - eat the
  • Retro Tank Battle - Retro Tank Battle - Drive your tank with the arrows or WASD, fire with Space, and clear the wave of
  • Garden Defense - Garden Defense - Pick a defender card - Shooter (100 energy), Battery (50, makes more energy), or
  • Voxel World Builder - Voxel World Builder - a free browser voxel sandbox: infinite terrain, six biomes, caves and ores,
  • Sky Gates Flight - Sky Gates Flight - Fly a little plane over the ocean and steer through the gates - green ones add
  • City Time Machine 3D - City Time Machine 3D - Drag the 1945-2055 timeline and watch one city block's buildings, vehicles,
  • 2048 Game - Merge the Numbers Puzzle - 2048 Game - Merge the Numbers Puzzle - Slide the numbered tiles with the arrow keys, WASD, or a
  • City Drive Open World 3D - City Drive Open World 3D - a free open-world driving game in the browser: a seeded neon night city
  • Retro Highway Racer - Retro Highway Racer - a free lo-fi driving game in the browser: steer a randomly generated highway,
  • Hover Racing - Hover Racing - a free anti-gravity racing game in the browser: pilot a hover ship down a neon 3D
  • Retro Arcade Shooter - Retro Arcade Shooter - a free lo-fi browser shooter: blast robot spiders through a dark server
  • Marble Maze - Marble Maze - a free 3D maze puzzle in the browser: roll a ball through a procedurally-generated

Tags: #games

Related guides:

Loading reviews...

Frequently Asked Questions

What does Space Pi Defense do?

It is a mouse-accuracy defense game: draw lines to stop enemy rays, grow your base to a target radius across 13 levels, spend coins on upgrades, and use timed powerups. Lower scores are better.

Does it work on a phone?

The page loads on a phone, but drawing lines needs a pointer. A desktop mouse or trackpad is the practical way to play the 960x600 canvas.

Is anything saved in my browser?

Yes. Level progress, upgrades, funds, and overall stats use localStorage key ftol:spacepidefense:user. Reset Game Data clears it. Nothing is uploaded.

How big is the download?

About ~60 KB of HTML/CSS/JS after you press Play. The browser caches it for later visits on the same device.

How do I play?

Press Play, then Play Game in the engine menu. Click-drag to draw defensive lines (limited by power). Space pauses. Beat levels, spend coins on upgrades, then climb all 13 bases.

Is this open source?

Yes. It is adapted from SpacePi by Jack Rugile for js13kGames under the MIT license (jackrugile/spacepi-js13k). This site build ships LICENSE and CREDITS.