This repository contains a Python implementation of the Hive board game, featuring a Tkinter GUI for ease of use. Players can either play against a friend or face a basic "AI" opponent that makes random legal moves. The game follows the standard Hive rules, and the GUI allows for easy interaction with the game board.
git clone https://github.com/your_username/hive-tkinter.git
cd hive-tkinter
pip install -r requirements.txt
Start the game by running
Hive_GUI.py
python Hive_GUI.py
The game window will open, showing the Hive board.
Players can take turns placing and moving their pieces using the on-screen buttons and clicking on the board.
The game will continue until one player wins by surrounding the opponent's Queen Bee, or until a draw is declared.
For a detailed explanation of the game rules, please refer to the official Hive rules.
The project is organized as follows:
The current AI opponent makes random legal moves. In the future, we plan to implement an AI opponent using reinforcement learning techniques, which will make the AI more challenging and engaging for players.Contributing
Pull requests are welcome. Please open an issue to discuss any major changes you would like to make.
This project is licensed under the MIT License. See the LICENSE file for details.