Doston Hamrakulov

Connect4 with Artificial Intelligence

Example of MiniMax Algorithm to implement a game.

The project was developed through NetBeans IDE.

Game mode

In this application, the user plays against the computer through the console indicating the turn of the players.

The game finishes when one of the players made a 4-row, 4-column or 4-diagonal. Enjoy it !

Programming language

// Java 

IDE

// Eclipse

Author

Doston Hamrakulov

Software Developer

Screens:

First, Player need to make movement:

Here, you can see computer has made a movement:

As soon as player makes movement computer will do its own movement also, it will be to pretent pplayer from winnning or choose optimal (the best) movement to win:

As soon as player makes movement computer will do its own movement also, it will be to pretent pplayer from winnning or choose optimal (the best) movement to win:

Here, computer has made final movement and won the game:

Enjoy :)