Skip to content

A Python-based HIVE board game with AI opponents and a user-friendly GUI using PyQt5 and Pygame.

License

Notifications You must be signed in to change notification settings

ENGaliyasser/AI-GAME

Repository files navigation

HIVE AI Player

Welcome to the HIVE AI Player! This project is an implementation of the popular board game HIVE, integrating strategic gameplay with a user-friendly graphical interface and powerful AI algorithms.


🚀 Features

  1. Game Modes

    • Human vs. Human
    • Human vs. AI
    • AI vs. AI
  2. Graphical Interface

    • Built with PyQt5 and Pygame for seamless user experience.
    • Visual representation of the game board and pieces.
    • Real-time status updates: current scores, turns, and winners.
  3. Game Logic

    • Full implementation of HIVE rules, including valid moves for:
      • Queen Bee
      • Ant
      • Grasshopper
      • Beetle
    • Break-the-hive prevention and turn validation.
  4. AI Gameplay

    • Minimax Algorithm: AI calculates optimal moves.
    • Alpha-Beta Pruning: Optimized decision-making process.
    • Iterative Deepening: Ensures strong moves within a time limit.

📥 Download and Play

Get the latest version of the game from our Releases page:
👉 HIVE AI Player - Latest Release


🛠 How to Run

  1. Download the executable file from the Releases section.
  2. Run the .exe file (no dependencies required).
  3. Select your game mode and enjoy the game!

🧩 Technical Details

  • Language: Python
  • GUI Frameworks: PyQt5 and Pygame
  • AI Techniques:
    • Minimax Algorithm
    • Alpha-Beta Pruning
    • Iterative Deepening Search

👥 Contributors

  • AI Algorithms:

    • Kareem Khaled Abdelazim
    • Noha Adel Desouky
    • Ahmed Hamed Ibrahem
    • Mohamed Abdel Hamid
  • Piece and Board Logic:

    • Mariam Ahmed Abd Elgalil
    • Anas Hamed Ahmed Hamed
    • Ahmed Gamal Helmy
    • Ahmed Yousry Mohamed
  • GUI Development:

    • Donia Hany Saeed
    • Ali Yasser Ali
  • Integration:

    • Entire team

🏆 About the Project

This project showcases the integration of AI algorithms with a visually appealing interface for an engaging HIVE gameplay experience. It allows players to challenge each other or test their skills against a smart AI opponent.


🎮 Enjoy the Game!

For any issues or contributions, feel free to open an issue or submit a pull request.

🔗 GitHub Repository

About

A Python-based HIVE board game with AI opponents and a user-friendly GUI using PyQt5 and Pygame.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages