Skip to content

Latest commit

 

History

History
executable file
·
10 lines (7 loc) · 479 Bytes

README.md

File metadata and controls

executable file
·
10 lines (7 loc) · 479 Bytes

Connect Four AI

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/.

Animation showing Connect 4 demo

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.