ttrts/game
2014-12-16 13:13:02 +00:00
..
CMakeLists.txt Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
game.cpp Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
game.h Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
gametypes.h Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
orders.cpp Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
orders.h Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
README.md Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
unit.cpp Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00
unit.h Clean up CXX Flags and remove statements relating to us being cool. If you have to say it, it ain't true 2014-12-16 13:13:02 +00:00

ttrts 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.


Units

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

Units have a set of properties, and commands than can be issued. Commands take the form of a single char literal. All units have 1 health.

V

V is your basic slow melee unit. It has very basic data and controls, basically acting like a turtle. Can be represented based on direction by < ^ > v

properties
property type description
pos char[2] x,y position on the board
dir char compass direction unit is facing
commands
command description
L/R turn left/right
F move forward
A deal 1 damage to unit directly in front

The Board

As an example, let's start with a basic starting [10,5] board

0000000000
0000000000
0000000000
0000000000
0000000000