Skip to content

baroxyton/FourFish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FourFish: A Connect 4 Engine

A toy single-threaded connect 4 minimax engine written from scratch.

demo screenshot

Features

  • TUI
  • Customizable board size

Implementation

  • Minimax
  • Bitboard implementation (~30 mio. nodes/s)
  • Alpha-beta pruning
  • Simple heuristic
  • CMake build system
  • Zero dependencies
  • Human-written code

Running

git clone https://github.com/baroxyton/FourFish && cd FourFish && mkdir build && cd build && cmake .. && make -j14
./FourFish

About

Stockfish for connect 4 (basically)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages