Sign in
HomeMechanicsSpace & LocomotionWraparound Topology
Space & Locomotion

Wraparound Topology

Wraparound topology joins opposite edges of the playfield so that leaving one side returns you at the other, turning a flat rectangle into a looping surface with no walls.

Introduced 1979 Origin Asteroids Developer Atari Direct forks 1 Later adopters 1

Coordinates are taken modulo the width and height of the field, so the right edge is the left edge and the top is the bottom. Nothing is lost by travelling; there is no corner to be trapped in and no boundary to bounce off. Objects have to be drawn twice while straddling a seam, and pursuit becomes strange, because any chase can be resolved by running the wrong way for long enough.

Asteroids, released by Atari in 1979, is where the idea became legible to players. Wrapping solved a specific problem for a game about drifting momentum: a ship with no brakes will otherwise pile into a wall, and rocks that leave the screen have to go somewhere. Modular arithmetic was cheaper than either fencing the field or spawning replacements, and it kept every fragment of every asteroid permanently in play.

Consequences run in two directions. As a play space, wrapping removes the safety of corners and forces continuous attention in every direction, which is why it suits games about drift and crowd control. As an idea, it established that a game's space needs no physical analogue and can be defined by whatever rule the program applies to a coordinate, an argument that later games would push considerably further.

Lineage — traced back to a root

Every mechanic in this dataset resolves to an ancestral chain. This one is 3 steps deep, beginning with Object Collision As Verb in 1962.

1962 · introduced in Spacewar!
1972 · introduced in Pong
1979 · introduced in Asteroids

Open this lineage in the interactive graph →

Descends directly from

Forked into

Pac-Man limited it to a single pair of side tunnels rather than a fully looping field, and the same reasoning resurfaces decades later as non-Euclidean portal space.

Carried forward by 1 later game

Look this mechanic up elsewhere

Also called: screen wrap, toroidal space, wrapping playfield

Cite this entry

“Wraparound Topology.” The Genome of Games, an ontology of game mechanics. Origin: Asteroids (1979). https://genome-of-games.vercel.app/feature/wraparound-topology/