Note: When starting, make sure to make it full-sized, to see all elements.
Welcome to CiviConquest! This project simulates a strategy game where players compete to build structures, gather resources, and conquer territories. The game features a GUI interface for interaction and includes an AI opponent.
- Python 3.x
- Tkinter library
- PIL (Pillow) library
- PyTorch library
-
Clone the repository:
git clone https://github.com/FujiwaraChoki/CiviConquest.git
cd CiviConquest
-
Install the required dependencies:
pip install -r requirements.txt
To play the CiviConquest, run the main script:
python main.py
Follow the prompts and GUI interactions to make decisions, build structures, and conquer territories. The game simulates turns for both the player and AI opponent.
- Players take turns to make decisions, manage resources, and expand their territories.
- Players can choose to build structures, gather resources, or conquer new territories.
- The game's GUI interface displays player information, resources, and territories.
The AI opponent is powered by an AI Advisor model. This model suggests actions for the AI player based on its current state, such as resource availability and territory count. The AI's decisions are influenced by probabilities, and the model is trained using reinforcement learning techniques.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.