GAIGResearch / Tribes

Tribes is an open source implementation for AI research of the game The Battle of Polytopia
60 stars 13 forks source link

Turn status in types #280

Closed QuasiStellar closed 4 years ago

QuasiStellar commented 4 years ago

https://github.com/GAIGResearch/Tribes/blob/master/src/core/Types.java#L120 There are only two states: fresh and finished. Everything else should be described by unit abilities.

GAIGResearch commented 4 years ago

That is correct in the game, although the framework is implemented using intermediate states to ease turn management and allow for potential new unit types.

QuasiStellar commented 4 years ago

How to run the code, btw?

GAIGResearch commented 4 years ago

The main entry point is in Play.java. There's not much documentation yet, but the main() method there allows for some basic ways of running it. Bear in mind that the main objective of this project is for AI research! :)