SpacePi Unblocked

Sketch quick barrier lines to protect a swelling orange base from red attackers, and collect coins to buy upgrades.

SpacePi is a defense game where your weapon is a pen stroke. A small orange base sits in the middle of the screen, and red lines streak in from every edge to chip away at it. You click and drag to sketch white lines in their path, and when a red streak crosses one, both of them break apart.

While you hold the attackers off, the base keeps growing. Get it to the target size and the level is yours.

How a level works

After you press Play Game, you choose a level from a row of 13 on the upgrade screen. Only the first is open at the start, and each win unlocks the next. The Completion bar at the top tracks how close the base is to its goal.

Every line you draw drains the Power bar by its length. The bar starts at 100 and refills slowly, so a long, lazy stroke can leave you empty right when a burst of enemies arrives. If power runs out mid-drag, your line simply stops there.

Broken enemy lines often leave coins behind, and now and then a power-up. These drift toward your pointer, not the base, so sweep the cursor over them between attacks. Press Space if you need to pause.

Upgrades and scoring

Coins pay for ten upgrade tracks with five steps each. They cover things like extra power, faster recharge, a tougher base, a stronger magnet and richer coin drops. Coins are worth more in later levels, so replaying an early stage is a slow but safe way to save up.

The score is unusual because lower is better. It adds up the seconds you spent, 100 points per line, the total length of your lines and 500 points for every hit your base takes. A level finished with no hits at all gets a P for Perfect.

Winning moves

  • Draw small lines right in front of each streak. They cost little and still block.
  • Watch every edge in the first few seconds, when the base is tiny and one hit hurts most.
  • Put your first coins into Power Capacity and Power Generation.
  • Fewer, well-placed lines beat a flurry of panic strokes, both for power and for score.
  • Go back to cleared levels when an upgrade is just out of reach.

Good to know

SpacePi was made by Jack Rugile for the js13kGames contest, and every shape is drawn in code with no image files. Enemies get faster and hit harder as the levels climb, so upgrades matter more the deeper you go.

Controls

ActionKeyboardMouseTouch
Draw a defensive line—Click and dragDrag a finger
Pull in coins and power-ups—Move the pointer near themTouch near them
Pause or resumeSpace——
Buy upgrades and pick levels—Click the buttonsTap the buttons

SpacePi FAQ

Does SpacePi save my progress?

Yes. Your coins, upgrades, best scores and overall stats are stored in your browser, so you can close the page and continue later on the same device. There is also a button to wipe that data and start fresh.

How do I win a level?

Grow the base to the target size shown by the Completion bar at the top. Enemy lines take bites out of it, and if it shrinks to almost nothing the level is lost. Later levels ask for a bigger base.

Can I play SpacePi on a phone or Chromebook?

A Chromebook with a mouse or trackpad works well. Phones are partly supported: you can draw with a finger and tap the menus, but there is no on-screen pause button, and accurate strokes are tougher in such a small frame.

What do the power-ups do?

There are four. One slows the enemies, one gives you unlimited power for a while, one doubles how fast the base grows, and one scatters coins across the field. They sometimes drop from destroyed enemy lines.

More games like SpacePi

All arcade games →