A simple python implementation of the classic Battleship game with a basic artificial intelligence (AI) opponent. The game is built using a straightforward console interface, making it easy to understand and play. The AI opponent employs a simple strategy to make its moves, providing a basic but functional challenge for players. This version of the Battleship game features a graphical user interface (GUI) implemented using Pygame.
- Game Logic: The core functionality of the Battleship game, including player and AI boards, ship placement, and attack resolution.
- AI Opponent: An AI opponent with a simple strategy for making moves, enhancing the single-player experience.
- GUI: A user-friendly console interface to facilitate player interactions and provide a clear view of the game state.
- Python 3.x
- Pygame
To play the Battleship game with the Pygame GUI:
- Clone the repository to your local machine.
- Install Pygame using the command: pip install pygame
- Run the GUI.py file to start the game with the graphical interface.
πββοΈ Feel free to explore and enhance the graphical aspects of the game or experiment with different AI strategies within the Pygame environment!