Skip to content

Miodini/Connect-4-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect-4 AI with Minimax and Alpha-beta pruning

This project was made for homework under UNESP Artificial Intelligence class.

To play, run interface.py with a Python interpreter. Click the arrows at the top to place your chips.

The maximum depth can be adjusted in board.py via the MAX_DEPTH constant. Higher values produce better outcomes but also slows down the "thinking time" of the AI considerably

Run interface.py -auto for an AI vs AI showdown.

About

Inteligência Artificial - Unesp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages