Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 495 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 495 Bytes

Connect4-AI

The goal of this AI project (Prolog) was to simulate the Connect 4 game (Puissance 4), with two competing AIs playing against each other.

TODO

  • Handle display of the board
  • Handle gameover state
  • Implement the AI predicate

Tip for the AI: Start w/ a dummy algorithm (random) to try out the game's mechanics.

Modules

  • main : game core, calls other modules
  • puissance4 : handle game board and checks victory state
  • play : AI code handling every player's move