Solving connect 4 board game using alpha beta pruning search algorithm evaluated by minimax algorithm. This repository should also help you to understand the minimax algorithm with optimized search strategy alpha beta pruning. We implement the algorithm using python2 and tested on linux platform.
- Linux/Windows/MacOS : Clone this repository and open terminal. change directory with command
cd
to clone repository. Then run commandpython Connect4_Game.py
- You can use default board grids or input your configuration.
- Game is started between bot and user with first move taken by the bot.
- Next, enter the number where you would like to place your
0
(Bot usesx
sign).
- python2
- numpy
- Making code compatible for python3
- Pritesh Gohil @priteshgohil
- Jaswanth Bandlamudi @jaswanthbjk