Skip to content
KBHXgamesAll games

Play SpacePi Online

Sketch barriers to shield a tiny base as it grows, then spend coins on upgrades across 13 levels.

SpacePi gameplay screenshot
  • Phones: some features

Tip: rotate your phone to landscape for a larger screen.

SpacePi at a glance

Genre
Arcade Games
Play with
Keyboard, Mouse, Touch screen
On phones
Partly
Players
1 player
Price
Free, no sign-up
License
MIT

SpacePi is a small arcade defense game where your pointer is the only weapon. A tiny orange base sits in the middle of space, red streaks shoot toward it from every side, and you sketch white barriers to cut them off. It was made by Jack Rugile for the js13kGames contest, so the whole thing is drawn in code and loads in a blink. Short levels and a clear upgrade path make it easy to play one more round.

The Goal

Each level asks you to grow your base to a target size. The base expands on its own over time, and a Completion bar at the top shows how close you are. Red streaks that get through bite pieces off it. If the base shrinks to almost nothing, you lose the level. Hit the target size and you win, which unlocks the next of the 13 levels.

How a Round Plays Out

  1. Press Play Game and choose an open level from the row at the bottom of the upgrade screen.
  2. Watch the edges. Red streaks fly in, faster and harder-hitting in later levels.
  3. Drag to draw a line across a streak’s path. When they cross, both burst apart.
  4. Every line drains power equal to its length. The Power bar starts at 100 and slowly refills.
  5. Broken streaks may drop coins or a power-up. Move your pointer near them to pull them in.
  6. Between levels, spend coins on ten upgrade tracks, each with five steps.

Power-ups can slow enemies, give you unlimited power for a while, double base growth, or spray coins across the field.

Keys and Buttons for SpacePi

Keyboard, mouse and touch controls for SpacePi
What you do⌨ Keyboard🖱 Mouse👆 Touch
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

Winning Strategies

  • Draw small and close. A short line right in front of a streak blocks it and costs very little power.
  • Protect the opening seconds. The base is tiny at the start, so one early hit can sink the run.
  • Collect between waves. The magnet pulls drops toward your pointer, not the base, so sweep across the field in quiet moments.
  • Buy power upgrades early. Power Capacity and Power Generation let you keep drawing during busy stretches.
  • Farm a cleared level. If you need more coins, replay an easy level for a safe payout.

Common Mistakes

  • Drawing long sweeping lines that drain your Power bar right before a big wave.
  • Forgetting that every line adds 100 points to a score where lower is better.
  • Chasing coins near the edge while a streak slips in from the other side.

Who Should Play It

SpacePi fits players who like quick reflex games with light progression and a score to beat. If you enjoy tower defense or mouse-driven arcade games, give it a few levels.

Played and checked by the KBHX Games team · updated

SpacePi: Questions and Answers

Is SpacePi free to play?

Yes. It runs free in your browser with nothing to install. Your coins, upgrades, best scores and stats are kept in local browser storage, and a button on the upgrade screen lets you wipe them and start fresh.

How is the score calculated?

Lower is better. The game adds your time in seconds, 100 points per line drawn, the total length of all lines, and 500 points every time the base is hit. Fast, sparing defense gives the smallest total.

How do I get a Perfect on a level?

Finish the level without letting any enemy streak reach your base. The level gets a P mark, and the level screen tracks how many of the 13 you have cleared and how many are Perfect.

Can I play SpacePi on a phone?

Partly. Dragging a finger draws lines and taps work on menus, but there is no on-screen pause button, and the small frame makes accurate lines tougher than with a mouse.

If You Liked SpacePi, Try These