AI used for the game Warzone, located at https://www.warzone.com. 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.
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.