AbaAI is an ambitious project aimed at developing a sophisticated AI to excel at the Abalone board game. By exploring and implementing advanced heuristics and strategies, our AI seeks to achieve unparalleled mastery of the game.
- To develop an AI that can consistently outperform human players in Abalone.
- To explore various heuristics and algorithms to find the most effective strategies for winning.
- To contribute to the AI and board game community by providing a fully open-source solution.
You can access the application via the following url:
NOTE: This is hosted using a free cloud hosting service, and may not respond properly all the time.
*Simplified instructions in GENERATOR_INSTRUCTIONS.md
Can be run from AbaAI/abaai-server/State_Space_Generator/state_space_generator.exe directly without the need for downloading if the repo is cloned (instructions below)
- Working Test.input files
- Locate the file
On the repository main page, find State_Space_Generator.zip
Alternatively, it may be located in:
".\AbaAI\abaai-server\abalone\ai\State_Space_Generator.zip"
- Download and unzip the file
Can be dowloaded directly in the directry if the repository is cloned, unzip the file by right-clicking it and selecting "Extract All..."
Alternatively, select the .zip folder in the repository, then in the github code file header select the dowload icon
- Insert input files and run the Executable
Navigate into the downloaded "State_Space_Generator" folder
Insert as many Test<#>.input files in the "input_files" folder as desired
Run the executable by double-clicking it, or by opening the command prompt in the "State_Space_Generator" and typing:
"state_space_generator_main.exe"
- Find output files
Navigate to the "output_files" folder to find the Test<#>.move and Test<#>.board files for all input files
- Python 3.11 or higher is installed on your computer. Install Python Here
- Node 20.11 or higher is installed on your computer. Install Node Here
git clone <project url> <directory name>
cd <directory name>
-
Change directory to the
abaai-serverdirectorycd abaai-server -
Initalize a python virtual environment
-
Windows
python -m venv venv -
Linux/MacOS
python3 -m venv venv
- Activate the virtual environment
-
Windows
.\venv\Scripts\activate -
Linux/MaxOS
source venv/bin/activate
-
Install the dependencies from the
requirements.txtfilepip install -r requirements.txt -
Start the application server
-
Windows
python app.py -
Linux/MaxOS
python3 app.py
-
Open a separate terminal window
-
Change directory to the
abaai-clientdirectory. (from root directory)cd abaai-client or cd ../abaai-client // if navigating from abaai-server directory -
Install the node dependencies
npm install -
Start the React server
npm run dev