Skip to content

Agent that uses various minimax algorithm variations to play connect 4 efficiently with great win rate

Notifications You must be signed in to change notification settings

vantony1/Connect4

Repository files navigation

I believe all the standard minimax components of the projects are working perfectly. 

I also created a fourth algorithm that uses ab_pruning, heuristic and depth-cutoff. It is pretty OP

THINGS TO KEEP IN MIND:
	The array representing the connect-4 board is zero indexed. 
	To drop block in column 1, choose 0

HOW TO RUN THE PROGRAM:

Simply import the connect-4 folder into your eclipse workspace and press the green button.

OR 

Change directory to the connect-4/src and copy paste these commands

javac game.java
java game

game.java contains the main method that runs all instances of the problem

About

Agent that uses various minimax algorithm variations to play connect 4 efficiently with great win rate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages