The goal of this AI project (Prolog) was to simulate the Connect 4 game (Puissance 4), with two competing AIs playing against each other.
- 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.
- main : game core, calls other modules
- puissance4 : handle game board and checks victory state
- play : AI code handling every player's move