AI used for the game WarLight, located at https://www.warlight.net. See how to use this project at the WarLight blog at https://www.warlight.net/blog/index.php/2016/02/the-warlight-ai-goes-open-source/
Add a nice data structure for the cards. Some cards like the reinforcement card or the abandon card have to have some properties about how strong they are while for example the Order prio card is generic. What we need is an easy function of the kind:
public List getCards(CardType type); with CardType being an Enum containing all types. Maybe we want to add two boolean variables to the cards named "PlayedByTeammate" and "PlayedByMyself".
Fizzer added the "PlayCardsTask" however this isn't how I think about cards. Instead the already available tasks should get enriched to be capable to play cards. Please integrate the the Order priority and / or the order delay card already into the the MovesScheduler.
From Fizzer:
In TheAIGames, it told you where your opponent started, so it was reasonable for a bot to be able to guess and get a pretty good idea of what the map looked like behind the fog. Wunderwaffe took advantage of this, rightfully so, and kept a "fogless" map. When I went to port it to WarLight, I couldn't think of a way to maintain the same feature so I ended up removing it.