Skip to content

Arash-ra03/ConnectFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectFour

Connect Four is a two-player game with perfect information for both sides, meaning that nothing is hidden from anyone.

Screenshot 1402-04-10 at 22 34 18 Screenshot 1402-06-17 at 19 26 10

AI Implemention

In this project I've implemented AI agent using minimax and alpha-beta pruning algorithm.
Also depth of game tree could be changed which changes AI agent difficulty level.

Q-Learning Implemention

Another approach to have a AI agent is trying to train AI agent with Q-Learning algorithm. This agent has trained itself 3000000 times but due to large number of states that Connect Four has, it doesn't choose the most intelligent move.
Q-table is available in agent1.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages