All projects

Splendor AI

An AI that learned to play Spendee, an online version of the board game Splendor.

finishedAI that plays a board game

  1. Goes in

    A simulator of the game

  2. What it does

    An agent plays game after game and learns which move to choose

  3. Comes out

    An agent that plays rated games online

The problem
In Splendor, each turn is a choice between a small gain now and a stronger position later. An agent has to learn that choice across 231 possible moves.
My role
A solo project. I built the game environment and trained the agent.
Built with
  • a simulator of the game, checked against 194 real game turns
  • a reinforcement-learning method called PPO
What came of it
It reached number one in rated online play on Spendee.
What I learned
I learned to check the simulator against real games before training. An agent trained on a slightly wrong version of the game learns the wrong game.