Puzzle · Sokoban

Infectors

A Sokoban-style grid puzzle: push same-colored cryogenic capsules onto matching viruses to capture them, using changer pads to switch hues across 21 levels.

Overview

Pushing a cryogenic capsule onto a virus of the same color is the only way to capture it, and the instant the capture triggers the capsule freezes in place permanently, becoming a wall you have to route around for the rest of the level. That permanence is the knot at the center of Infectors, a Sokoban-style grid puzzle written in Phaser by Wil Alvarez as a port of his own December 2007 Pygame original. Each level seeds a tiled floor with walls, colored viruses, matching capsules, and changer pads. Your hero walks the grid and can shove a capsule exactly one tile per push, but only when the capsule shares the hero's current hue; step onto a changer pad and the hero shifts to that pad's color, which is how you reach a virus whose capsule sits behind a differently colored block. The build ships 21 hand-made levels and logs your best move-count and clear time per stage, so the long pull is par-solving rather than survival, with the color constraint layering a routing problem on top of plain Sokoban that Sokoban itself never has. It is built for the patient spatial-reasoning player who likes to reverse-engineer a board before touching a key.

How to Play

The objective is to capture every virus on the level in as few moves as possible. Move the hero one tile at a time with the Arrow keys; the hero walks into open floor, or pushes a capsule exactly one tile when that capsule matches the hero's color and the space beyond it is clear. A capsule cannot be shoved into a wall, another capsule, a changer pad, or a differently colored virus, and an illegal push simply fails with a blocked cue. Walk over a colored changer pad to switch the hero's hue. Push a same-colored capsule onto a same-colored virus and the virus is captured, the capsule locks permanently in place, and the virus counter on the HUD drops; reach zero and the summary screen records your moves and clear time. Press R to restart the current level, Esc to open the in-game menu (Continue, Restart, Quit), Q to quit, and M to mute the audio.

Tips & Strategy

Before moving, scan for capsules whose color already matches a virus they can reach, because those are straightforward captures and clearing them first shrinks the routing problem. The real threat is permanence: a captured capsule becomes a wall, so never freeze one on a corridor another capsule still needs to travel, or where it seals a virus or changer behind it. Color order matters as much as geography. If a red capsule must cross a blue changer, send a blue capsule first or the red will be stuck. Use the restart key freely, since the move counter is watching and a clean plan beats a salvaged mess. On levels with several changers, plan in reverse: decide which final color each capsule needs, then trace back to the pads that produce those colors, so you never paint yourself into a corner where the last virus demands a hue you can no longer reach.

Controls

Keyboard
Arrow keys — move the hero and push a capsule one tileR — restart current levelEsc — open in-game menu (Continue, Restart, Quit)Q — quit to menuM — mute audioEnter — confirm menu selection or advance intro
Mouse
Not used in gameplay; all menus are keyboard-driven.

Features

  • 21 hand-built grid levels
  • Push same-colored cryogenic capsules onto matching viruses to capture them
  • Hero changes color (red, blue, green) by walking over changer pads
  • Captured capsules freeze permanently and become impassable obstacles
  • Per-level best move-count and best clear time saved locally
  • Phaser port of Wil Alvarez's 2007 Pygame original