ttrts/source/game
Marc Di Luzio 2a410d98c0 Set up a basic ttrts binary
It takes a game description from the command line.
Looks in a folder 'ttrts_gamename' for turn commands
Reads those in and simulates until a winner is found
2014-12-16 13:13:03 +00:00
..
CMakeLists.txt Move source code into source subfolder 2014-12-16 13:13:02 +00:00
game.cpp Set up a basic ttrts binary 2014-12-16 13:13:03 +00:00
game.h Set up a basic ttrts binary 2014-12-16 13:13:03 +00:00
gametypes.h Remove player IDs, keep it simple stupid 2014-12-16 13:13:03 +00:00
order.cpp Move source code into source subfolder 2014-12-16 13:13:02 +00:00
order.h Move source code into source subfolder 2014-12-16 13:13:02 +00:00
README.md Move source code into source subfolder 2014-12-16 13:13:02 +00:00
unit.cpp Remove player IDs, keep it simple stupid 2014-12-16 13:13:03 +00:00
unit.h Remove player IDs, keep it simple stupid 2014-12-16 13:13:03 +00:00

Game Design

The game takes place in a series of simultaneous turns on an arbitrarily sized 2D board.

Each player is in control of a set number of starting units, each turn receives data on the status of the board.

Each player must then issue a single command to each unit in their control.

The engine then takes all commands, evaluates all movement first simultaneously, then all other commands.

All attempted movement to the same square by two or more units will fail.

Friendly fire is enabled by default


Units

Currently only one unit, this will be expanded in the future.

Units have a set of properties, and commands than can be issued.

All units take one hit to kill.

properties

See the unit header for full details on unit properties

orders

Commands take the form of a single char literal. See the order header for details on the orders