mdiluzio
481153606b
Remove version numbers from unneeded places
2014-12-29 22:44:47 +00:00
Marc Di Luzio
97ef46db16
Update README with fixes to links
2014-12-29 22:35:40 +00:00
mdiluzio
a80c415932
Remove french line
2014-12-29 22:31:35 +00:00
mdiluzio
485a05293c
Rename invalid positions to walls
2014-12-29 22:30:11 +00:00
mdiluzio
128dc14bb6
Move ttrts perl module into api/perl dubdirectory
2014-12-29 22:07:59 +00:00
mdiluzio
c0d5044f81
Merge branch 'master' of ../ttrts-players2/ into dev
2014-12-29 22:06:41 +00:00
mdiluzio
b50c838f28
Large refactor and addition of new features in line with 0.3.0
2014-12-29 21:59:59 +00:00
mdiluzio
286cc81f3c
Update README files with new changes.
...
Also add changelog to top level readme
2014-12-29 21:57:52 +00:00
mdiluzio
fc62785768
update to v0.3.0 to account for new format and features
...
In this case, new WALLs to take into account for the game
2014-12-29 21:57:14 +00:00
mdiluzio
d172922698
Implement invalid unit positions
2014-12-29 21:55:32 +00:00
mdiluzio
c98ac95759
Output usage with cout not cerr
2014-12-29 21:54:34 +00:00
mdiluzio
5737ae31be
Some small cleanup and refactoring.
...
Update name of a few functions to best suit their usage.
Split up checking for winning player and checking for game over state.
2014-12-29 21:52:25 +00:00
mdiluzio
d54ccf3d2f
Merge branch 'master' into refactor
2014-12-22 20:12:54 +00:00
mdiluzio
78bc326b8d
Update to minor version 2
...
The file format and name has changed in the following ways:
All team references are now player, so tm: -> pl.
Order file format is now Player_#_Turn_#.txt.
2014-12-22 20:05:49 +00:00
mdiluzio
f9ee646c93
Update to be compatible with 0.2
2014-12-22 20:05:30 +00:00
mdiluzio
ac9ed13be8
Update using player instead of team and matching new file formats
2014-12-22 20:03:31 +00:00
mdiluzio
5d07bb03f3
Correct using player for turn and turn for player
2014-12-22 20:03:18 +00:00
mdiluzio
024253bb84
Fix usage text to reflect new formatters
2014-12-22 19:55:23 +00:00
mdiluzio
e90ddee67e
Final fixes to indentation.
...
fixes #13
2014-12-21 11:19:37 +00:00
mdiluzio
263f6187d3
dir_t -> dir_c
2014-12-21 11:14:20 +00:00
mdiluzio
83020d9120
Player -> player_t
2014-12-21 11:14:01 +00:00
mdiluzio
9e44d5144b
Rename all usages of Team to Player
...
This was confusingly inconsistent in the codebase.
fixes #7
2014-12-21 11:04:26 +00:00
mdiluzio
d4f9470704
Correct some usages of COrder
2014-12-21 10:47:58 +00:00
mdiluzio
4aa51a64b6
Correct case for unitvis
2014-12-21 10:45:08 +00:00
mdiluzio
f55bc5413a
Correct case for all CUnit methods
2014-12-21 10:44:08 +00:00
mdiluzio
c38fb3dd41
Realign unit.h
2014-12-21 10:41:06 +00:00
mdiluzio
f63dc8462f
COrder -> SOrder
2014-12-21 10:39:39 +00:00
mdiluzio
755fe01bf5
re-align CTRTSGame class
2014-12-21 10:37:35 +00:00
mdiluzio
ca1705ad4a
Pull SOrderUnitPair out of game header
2014-12-21 10:33:19 +00:00
mdiluzio
9551560bc0
OrderUnitPair -> SOrderUnitPair
2014-12-21 10:31:00 +00:00
Marc Di Luzio
24c8b6a5b8
Fix a some bad grammar
2014-12-20 21:45:44 +00:00
Marc Di Luzio
321690faaa
Add link to issue #9 to readme
2014-12-20 17:47:10 +00:00
Marc Di Luzio
f68d16b8b9
Add link to my ttrts-players repository to README
2014-12-20 17:37:49 +00:00
mdiluzio
19623c6711
Update version to match with compatible ttrts version
2014-12-20 17:33:36 +00:00
mdiluzio
d71983dcb1
Update to version 0.1.0
2014-12-20 17:31:13 +00:00
mdiluzio
b0af969b29
Update to 0.0.1 version system for main ttrts client and check versions
2014-12-20 17:28:53 +00:00
mdiluzio
4f595ff92e
Fix #8 by defining the version properly and adding a proper line end
2014-12-20 17:27:25 +00:00
mdiluzio
98deae237b
Update the README.md files with newer and more useful information
...
fixes #4
2014-12-20 16:57:01 +00:00
mdiluzio
f6f6d6fafd
Add an END specifiers to gamestate and order files
...
Game will now wait until the last line of an order file matches "END"
AI's MUST now finalise their order file with "END"
fixes #1
2014-12-20 16:33:42 +00:00
mdiluzio
fec9c8dad7
Add MAJOR.MINOR.PATCH versioning to the binary.
...
This also modified the output format for the gamestatefile so AI's will have to be updated
2014-12-20 16:17:01 +00:00
mdiluzio
ec7ed601a3
Players moved to external repository
...
Can be found at https://github.com/mdiluz/ttrts-players
2014-12-20 15:56:08 +00:00
mdiluzio
469e3ffa8a
Add a Random player, simply does random commands on each turn
...
Remove simplePlayer in favor of new randomPlayer, which uses new ttrts.pm module
2014-12-20 15:35:19 +00:00
mdiluzio
4edca83659
Add a Random player, simply does random commands on each turn
...
Remove simplePlayer in favor of new randomPlayer, which uses new ttrts.pm module
2014-12-20 15:35:19 +00:00
mdiluzio
b37fe327f2
Re-do generation now that attack rule has changed
2014-12-20 15:35:19 +00:00
mdiluzio
29048fcdd3
Reorder team colours to match with bash colour codes
2014-12-20 15:35:18 +00:00
mdiluzio
fa7aa15ccd
Fix some bugs
...
Fix a case where game folder existed in verious forms
Fix bug where game would not correctly end at draw state
Fix bug where the team order file was looked for in the wrong directory
Extract gamestate function and properly handle game ending scenarios
Stop hitting yourselves
Fixed bug where units would not move forward because they were hitting themselves
2014-12-20 15:35:18 +00:00
mdiluzio
f4109e7b36
Adjust some output
2014-12-20 15:35:17 +00:00
mdiluzio
71d0084908
Use a pre-build script to generate usage.h from the README.md
...
Use a generated header from README.md
Finalise git ignore file
2014-12-20 15:35:16 +00:00
Marc Di Luzio
a7bc45497a
Update README.md
2014-12-18 14:03:01 +00:00
Marc Di Luzio
30cbdff1f5
Update CMakeLists.txt
2014-12-18 14:02:12 +00:00