I model the ocean as an array of lines set within a two-dimensional frame, and show how the Exclusive Economic Zone emerged as an equilibrium in customary international law. I find that custom codifies the efficient Nash equilibrium of enclosure for nearshore fisheries. For highly migratory and...