- Core War
- Programming Games
- Warrior Cycles
Warrior Cycles is a programming game for the Commodore Amiga created by Rico Mariana and published in 1988. The game is played by writing a program to control a Tron-style light cycle.
Specification
Cycle programs can be written in any programming language and communicate with the Cycles server using messages. The following message functions are available:
| Function | Description |
|---|---|
Register(colour) | Join the game. Set ⁎colour to the colour allocated |
Retire() | Leave the game |
Inquire(x,y) | Return TRUE if the cell at x, y is filled, otherwise FALSE |
Look(direction) | Return TRUE if the cell in direction is filled, otherwise FALSE |
GetScreenMem() | Return a pointer to a bitmap representing the current arena |
GetInfo(x,y,direction) | Set ⁎x, ⁎y and ⁎direction to the current x- and y-coordinate and direction |
Direction(direction) | Move in direction |
Await() | Join the next round |
Up to six cycles enter the arena. A cycle leaves a trail in its wake and is destroyed if it hits a trail or the arena wall. The last surviving cycle is declared the winner.
Software
Warrior Cycles was published in the first issue of Transactor for the AMIGA, April 1988:
- Warrior Cycles, fixed (June 1988) - wcycles2.adf, source code
- Warrior Cycles (April 1988) - wcycles.adf
The following cycle programs are available:
References
- . "Warrior Cycles: Programs Battle it Out in an On-Screen Arena." Transactor for the AMIGA 1.1 (April 1988): 63-72.
- . "Oops!" Transactor for the AMIGA 1.2 (June 1988): 80.