ttrts/source/game
Marc Di Luzio 3fc1f5ee5d Change unit Attack behaviour to a charge
All charges on a turn are evaluated at the same time, step by step
2014-12-17 13:38:06 +00:00
..
CMakeLists.txt Move source code into source subfolder 2014-12-16 13:13:02 +00:00
game.cpp Change unit Attack behaviour to a charge 2014-12-17 13:38:06 +00:00
game.h Change unit Attack behaviour to a charge 2014-12-17 13:38:06 +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 Change unit Attack behaviour to a charge 2014-12-17 13:38:06 +00:00
README.md Move source code into source subfolder 2014-12-16 13:13:02 +00:00
unit.cpp Update with more pre-generated levels 2014-12-16 22:35:56 +00:00
unit.h Change unit Attack behaviour to a charge 2014-12-17 13:38:06 +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