blog
Archive

← Studio · Arcade · playable rule study

One block - the line game on a single square

Studio arcade · playable rule study

One block - the line game on a single square

An interactive game on a single square, in the style of Oliver Byrne's 1847 Euclid. The square has four corners; a move draws one straight line - either a side of the square or a diagonal through its centre. Two players alternate colours, blue then red, on one shared line, and you lose when on your turn the line can only continue by running back into itself or off the square. A rule toggle changes which end may grow: under "one end" a single tip grows from a pinned start, and the opener wins only if they begin on a side - beginning on a diagonal loses; under "either end" either free end may grow, and the opener then wins whatever they begin with. The winning side under perfect play is computed and shown for whichever rule is active. Click a faint line to draw it; arrow keys cycle the available moves and Enter draws the chosen one; T switches the rule; R clears the board.

Embed in a post: :::sketch{name="arcade/oneblock"} Digest: sha256:9edaef47e860