3 unstable releases
new 0.2.1 | Jan 14, 2025 |
---|---|
0.2.0 | Jan 9, 2025 |
0.1.0 | May 10, 2023 |
#603 in Math
146 downloads per month
140KB
632 lines
Perfect Connect Four
A perfect connect four solver in Rust.
Inspired by this tutorial for writing a perfect and strong solver for connect four: http://blog.gamesolver.org/solving-connect-four/01-introduction/
This crate provides an efficient bitboard implementation of Connect Four and a score
function which tells you how many turns the current player needs to win, loose or draw from this position.