Git Product home page Git Product logo

game-of-amazons-ai's Introduction

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

game-of-amazons-ai's People

Contributors

mkudrenecky avatar samuelspencer164 avatar aroizmand avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

game-of-amazons-ai's Issues

Board state not equal for different players

In one player's terminal it has a different board as the other. Maybe we are doing legal moves but the boards in which we are playing are different (communication error)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.