Re-Wire

Saved games stay in this browser only.

About the game

Something has gone offline, and the fix is a single long cable. Each level of Re-Wire shows a dark panel with a power source, a socket and a number of round power nodes. You grab the free end of the cable and drag it across the board, and the cable bends around any node it passes, like a rope around a post. The goal is to route it so that it wraps around every node exactly once before you plug it into the socket. A counter shows how many nodes are already powered, and a node the cable wraps twice glows red, overloaded.

The catch is that the cable must never cross itself or run across the spinning saw blades placed on many boards. Wrapping a node clockwise or counterclockwise changes which way the cable leaves it, so the order and the direction of every turn matter, and a route that looks right often ends in a knot. Later levels add isolating nodes: a stretch of cable that has passed around one of them is insulated, and may cross other cable until it passes around another isolating node.

Jan Mankopf wrote Re-Wire in TypeScript for js13kGames 2018, whose theme was "Offline". The metallic nodes, the brushed panels and the glowing cable are all generated by code when the game starts.

Playing it here

This is the original competition version. It was built for a 1280 by 720 panel, so here it is scaled to fit the frame. Click START NEW GAME; the first levels explain the rules with short captions. The level you reached is saved in this browser, and CONTINUE GAME picks up from it next time. There are seventeen levels, and the game has no sound.

Controls

Input Action
Drag the plug pull the cable across the board
Release over the socket plug the cable in
RESET button start the level over

A few things worth knowing

Think about the direction of each wrap. Going around a node on the wrong side is the most common reason for a cable that cannot reach the next node without crossing itself.

Unwind by going back. Dragging the plug back the way it came unwraps the nodes in reverse order, so you rarely need to reset the whole level.

A dashed cable means trouble. When a stretch of cable crosses another or runs across a saw blade, it turns into a dashed line, and the level will not count as solved until it is clear. The thicker red stretches are the insulated ones.

Credits and licence

Re-Wire was created by Jan Mankopf. The game is released under the MIT licence; the licence text is linked from this page.