This repo contains:
- Connect Four AI API written in PHP
- Implemented front-end game in html/javascript
See a live demo here: https://kevinalbs.com/connect4/.
The API accepts a board state and replies with a list of moves and scores. The scores are calculated using a minimax algorithm and a heuristic.