An implementation of connect 4 game in Python with AI. The AI implementations includes:
- Random
- Minimax with alpha-beta pruning
The interactive gameplay defaults to human vs Minimax AI player.
Run board.py
to run the CLI form of the game.
python board.py
Run connect4.py
to run the visual form of game. It is written using PyGame.
python connect4.py
Thanks to the following sources for idea and implementation