This project implements a Connect 4 game where players can choose to play against another human, against a random AI, or against a minimax AI. The game is implemented in Python and utilizes concepts such as object-oriented programming and algorithms like the minimax algorithm for the AI opponent.
- Game Modes: Choose between playing against another human (
H
), a random AI (A
), or a minimax AI (I
). - Interactive Console Interface: Players interact via the console, selecting columns to drop their pieces into the game board.
- Winning Conditions: The game checks for winning conditions horizontally, vertically, and diagonally.
- Input Validation: Ensures valid user inputs and handles errors gracefully.
- Restart and Quit Options: Players can restart the game (
R
) or quit (Q
) during gameplay.