Editing AI
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | The Warzone AI's behavior is determined by a set of algorithms. The source code behind these algorithms can be viewed on GitHub at https://github.com/FizzerWL/WarLight.AI. | + | The Warzone AI's behavior is determined by a set of algorithms. The source code behind these algorithms can be viewed on GitHub at https://github.com/FizzerWL/WarLight.AI. |
== Weighted Random == | == Weighted Random == | ||
Line 9: | Line 9: | ||
Confirmed: | Confirmed: | ||
+ | * The only cards it can play are the [[reinforcement card]], [[sanctions card]], [[bomb card]], [[blockade card]], and [[diplomacy card]]. | ||
* It prefers to expand as long as it still sees [[neutral]] [[bonuses]] to expand to, as long as the bonus meets its criteria for being a good bonus. {{Ref|http://warzone.com/Forum/Thread?ThreadID{{=}}136&Offset{{=}}12}} | * It prefers to expand as long as it still sees [[neutral]] [[bonuses]] to expand to, as long as the bonus meets its criteria for being a good bonus. {{Ref|http://warzone.com/Forum/Thread?ThreadID{{=}}136&Offset{{=}}12}} | ||
+ | |||
+ | |||
== Behaviour of the AI in team games == | == Behaviour of the AI in team games == | ||
Line 20: | Line 23: | ||
* The AI will not play cards when teamed with a human teammate unless it must play cards by rule. The only circumstance where an AI must play cards when teamed with a human teammate is if the last player on a team turns into an AI via boot or surrender and [[cards]] must be used by that team that turn. | * The AI will not play cards when teamed with a human teammate unless it must play cards by rule. The only circumstance where an AI must play cards when teamed with a human teammate is if the last player on a team turns into an AI via boot or surrender and [[cards]] must be used by that team that turn. | ||
− | == Playing | + | == Playing Itself == |
Under the single-player tab, you can set up a game full of AIs, no [[fog]] and watch the entire game play out on its own. | Under the single-player tab, you can set up a game full of AIs, no [[fog]] and watch the entire game play out on its own. |