/chain-reaction

AI agent to play the computer-based board game Chain Reaction.

Primary LanguageJavaScriptMIT LicenseMIT

chain-reaction

Chain Reaction is a strategic board game that can be played by 2-8 players. We developed an AI agent for playing this game against a single opponent. The agent decides its moves using the alpha-beta pruning algorithm. The game is currently made for 2-player or AI vs player mode.

The game was developed in JavaScript using Phaser 3. The agent was developed in Python and an API was built in Flask to link the game with the agent.

Getting Started

you can clone the code from repo "https://github.com/paul-antony/chain-reaction"

run the file main.py as python3 main.py

Prerequisites

python3 : sudo apt-get install python3

python3-flask : pip3 install flask

Versioning

version 1.1

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details