We get a lot of feedback on our AI and want to discuss it here at length to give some context as to what's happening.



In Feb 2019 we updated the AI code to a new and improved system V2.0.
The previous one was static and based on a single algorithm and could be easily "gamed".

We're constantly evolving it but wanted to share with you some insights which might explain our approach, the challenges we face and clear up some questions.


The AI doesn't cheat!

We want to make this clear that;

  • The AI doesn't have an advantage with dice rolls or disadvantage. It uses the same code as humans to determine the outcome and same random code. 
  • The AI doesn't focus on humans. It considers all players equal opponents.
    • Except with Beginner and Easy: there is a slight preference for the AI to take out other AI first (to make it easier for the player) that said this may in fact make the AI harder for some players. It's a delicate balance.
  • Player order is completely random and the AI doesnt have any favor. We are/were considering making the human player last for additional "difficulty" but haven't implemented that
  • The cards the player and AI receive are randomly pulled from the available deck
  • One thing the AI does have an advantage on is Fog of War. The AI CAN see your troops and factors that into it's calculations.  


There is not one AI. 

It's a mixture of various "personas". These personas have different ways of approaching the game and vary in how they play. Some personas are limited to certain difficulties. So if you play on "Expert" you will get a different set of personas than on "easy". 


Your play style may clash with one of those personas which makes it "stupid / too easy" or "impossible to beat!". We ask you play multiple games against the AI at various difficulty levels before you declare it "stupid" as the AI doesn't have feelings but our developers do. Sandro has been working hard with little tweaks here and creating new personas.


Also depending on the game mode also will determine which persona is used. Capitals is the best example as adds a new dimension for the AI to focus on.


What are the personas?

We dont want to reveal exactly what they are (we also tweak these regularly) but they are named below. Each one has around 40 different attributes which affect it's decision making and how it plays. 

  • friendly
  • defensive: only attacks when it really knows it can win
  • continental: has a focus on continents
  • aggressive
  • stacker: likes to stack up and then steamroll
  • zombie


Here is a video we took of the AI playing itself for us to test which ones are "better"



Great AI is hard

We're not going to say our AI is perfect. Far from it. For us to create the same depth of thought as a human for a game like risk is very tough. It takes a supercomputer to play chess at a grand master level and that is a much simpler game. Chess also has no luck involved.


What About Machine Learning?

We've spoken to machine learning companies and they are interested but the price to implement it, with no guarantee it'll be good, is many times monthly revenue we earn from the game.  


We already have millions of players with much smarter brains than we can program. We see the AI as a way to fill the gap when you cant play online.


The Future Plans

We're making small tweaks here and there to the AI but also exploring other ideas. As we said a full machine learning solution isnt on the cards soon but may come.


I have suggestions / ideas / complaints!

Great! Please tell us via a support ticket or discuss with us on Discord of Facebook.