Dice Wars: Machine Learning

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

This game showcases a neural network-based AI trained using Proximal Policy Optimisation reinforcement learning. Initially it was trained by playing against six opponents that made random moves, and later by playing against snapshots of itself that remained fixed (i.e. were not learning). 

You can enable an AI visualisation option to show arrows representing possible moves that the AI considers to be better than ending its turn. The widest arrow indicates the chosen move, and successively thinner arrows represent the other moves in order of preference. Note that enabling this option may slow down the AI.

The Rules

The AI learned the game without being told the rules but, in case you're wondering, here they are:

  • As many times as you want on your turn you may select a territory with a stack of two or more dice and then select an adjacent territory belonging to an opponent. Both players roll their stacks of dice. If you have the higher total, their stack is replaced with all but one of the dice in your stack and the territory becomes yours. Otherwise you lose all but one of the dice in your stack.
  • When you choose to end your turn, a number of dice are randomly added your stacks equal to the size your largest group of connected territories. Note that a stack can have at most 8 dice.

The objective of the game is to control all the territories. The AI was given a large reward when it achieved this, and an equally large negative reward when it was eliminated.

The game includes colourblind-friendly options.

Platforms
Release date
Developer
Max Lewis
Age rating
Not rated

System requirements for PC

System requirements for macOS

System requirements for Linux

Read more...
Edit the game info
Last Modified: Jan 3, 2022

Where to buy

itch.io