The famous Connect4 game, but it is you against AI this time!
- If the human player go first, it is not guaranteed that the AI player will win (for any algorithm).
- This is improved than the previous Tic-Tac-Toe AI player as this uses Alpha-beta purning which helps reduce the calculations required.
- However, it still only consider the next 5 steps. This is because as the depth increases, the computations requried increases exponentially and so is time needed. This should be great enough, yet a win is not guaranteed.
To run this locally on your machine, simply open the index.html file using any modern browser!
You can clone this repo using the following command:
git clone https://github.com/sBubshait/AIConnect4.git