Fields of Arle AI

An AI that plays single player Fields of Arle

Kinda overambitious ¯\(ツ)

Performance

searching 8 moves deep takes 17s using Ryzen 5 3600x on WSL2

searching 8 moves deep takes 39s using M1 MacBook Air

Todo

grep for TODO in the code for latest todos

Gameplay features:

  • building materials
  • goods trackers
  • tools
  • scoring
  • worker actions (14/30)
  • worker placement blocking
  • turn/season tracking
  • season preparations
  • season inventorying
  • dikes
  • buildings
  • barn
  • travel
  • animal storage
  • 2 players

AI features:

  • call AI from REPL
  • builds all possible good moves dynamically
  • multithreading
  • heuristics to elvaluate board positions
  • 2 player minimax / alpha beta pruning