Skip to content

mkudrenecky/game-of-amazons-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of the Amazons AI

An ongoing implementation of an aritificial intelligence based Game of Amazons player.

Overview

The game playing agent leverages the Minmax backtracking algorithm with alpha beta pruning to build and search the game tree coupled with iterative deepening to allow the best search under the time constraints. Each player has a 30s time limit to make a move. We have implemented a variety of heuristics to evaluate the quality of the moves. Current evaluation heuristics include mobility and territory, with a combined heuristic on the horizon. We have included a move validator to detect cheating opponents. We have implemented the ability to play the game in the command line through a test class, but the GUI is not available out of the box as it relies on a UBC hosted server (VPN access required).

Demo

The demo displays Black black playing the Minmax algorithm with moblilty heuristic (with search tree depth of 1 for visualization speed purposes) against White, playing random moves.

amazons_demo

Optimizations going forward

  • bit representation of game state to reduce memory load
  • improved heuristics to better model game outcomes
  • move ordering to optimize search tree
  • negaMax algorithm

Tech

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages