This repo includes a pre-built windows executable for the latest release of the game. If you just want to play, skip to here However, if you want to develop and build, read on.
The game is built in python so make sure you have python 3.11.x installed on your machine
sudo apt install python3
preinstalled
sudo apt install python3-tk
pip install pyinstaller
after making your changes, you can create an executable. *The following method creates an executable for your current platform. There is a chance your executable will not run on other platforms.
pyinstaller --onefile src/refactor_abalone.py
The executable will be placed in
src/dist/
*will overwrite any previous builds in the directory
-
download the repo zip
-
navigate to the executables directory
dist/
-
Execute
refactor_abalone.exe
-
On the configuration page, set up the game parameters according to your preferences. Once configured, press the "Start Game" button to proceed to the game board.
-
Click the "Start" button located at the bottom-left corner of the screen to initiate the game.
-
During your turn, type your action in the "Input Action" textbox with the following format:
<source marble coordinates>-<destination marble coordinates>
. e.g.c3-d3
moves the marble from position c3 to position d3.g5g6g7-f5f6f7
moves the three marbles at positions g5, g6, and g7 to the positions f5, f6, and f7, respectively. -
Hit
enter
to confirm move -
Wait for AI to make it's suggestion
-
Input a move for the AI
-
Repeat