Hyperspace Garbage Collection is a short physics puzzle about tidying up space. You steer a round robot with a little face through dark cave chambers while square pieces of trash drift out of glowing warp holes. Each piece is blue matter or red antimatter, and you have to nudge the right color onto a matching switch to open the door. Raymond Zhou made Hyperspace Garbage Collection for the GitHub Game Off 2013 jam.

How each chamber works

Press start and move the robot with the keys or by dragging on the screen. The robot floats freely and pushes any trash that shares its color.

Every chamber has a round switch with a thin wire leading to a door. When trash of the switch’s color touches it, the switch grabs that piece and lights up. Once every switch wired to a door is lit, the door slides open.

Color decides everything else too:

  • Trash of opposite colors destroys each other on contact.
  • Ramming trash of the opposite color blows that piece up.
  • Lasers destroy trash of their own color and let the other color pass.
  • Tractor beams carry loose pieces along a fixed path.
  • Every piece fades after a few seconds if it does not reach a switch.

Hyperspace Garbage Collection Controls

Controls for Hyperspace Garbage Collection
ActionKeyboardMouseTouch
Move the robotW A S D or arrow keys—Touch and drag in the direction you want to go
Switch between matter and antimatterSpaceClick the button below the gameTap the button below the game
Start the game—Click startTap start
Change graphics settings—Click the gear in the cornerTap the gear in the corner

What it trains

This is a game about momentum and timing, not arithmetic. Floating objects keep moving after you push them, so you learn to tap gently and aim ahead of where a piece is heading. That builds an intuitive feel for physics, the same sense you use when sliding a book across a table to a friend.

The two-color rule adds a layer of planning. You have to decide when to be matter and when to be antimatter, and switching at the wrong moment can wreck a good push.

Tips for a clean sweep

  1. Check your color first. The ring around the robot shows which trash you can push.
  2. Clear blockers on purpose. Switch colors and ram stray pieces that are in the way.
  3. Ride the tractor beams. Nudge a piece into a beam and let it do most of the work.
  4. Route around lasers. A red laser removes red trash, so steer red pieces past it.
  5. Meet fresh pieces at the warp hole. Trash does not last long, so the shorter the trip, the better.
  6. Trim effects on slow devices. The gear menu can turn off the background, explosions, glow, gradients and trail.

Saving, Devices and Play Time

The game plays silently and finishes in about ten to twenty minutes. Turning a phone sideways gives you more room. For more physics-based puzzling, try Complements. For pure logic with no timing at all, try Inertia Gem Slide.

Tested and updated: