Cardinal directions

From Wiki of ZZT
Revision as of 23:27, 23 December 2025 by RT-55J (talk | contribs) ("thowstar" -> "throwstar")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The four cardinal directions in ZZT-OOP are north, south, east, and west, which correspond to one step towards the top, bottom, right, and left sides of the board respectively.

The abbreviated forms n, s, e, and w are more commonly used for the sake of brevity.

The directions can be used with the / ? movement operators, direction modifiers, the blocked flag, #go, #put, #shoot, #throwstar, #try, and #walk.