Skip to content

chriskinzel/Connect4-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Connect4-AI

ASCII connect4 game written in Haskell that can be played in GHCI against a minimax depth 5 AI opponent with heuristic scoring. Arbitrary board sizes and connect requirements supported i.e. n x m connect k.

Requirements

GHC compiler and Parallel Control Strategies Haskell package installed (allows multicore tree search, greatly speeds up AI thinking time)

Compilation & Running

$ ghc --make -threaded Human.hs  
$ ./Human -N4  

where -N4 is used to specify the number of cores your machine has (i.e. in this case four).

About

ASCII Terminal Connect N Human vs. AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published