| Crates.io | connect-four-solver |
| lib.rs | connect-four-solver |
| version | 0.2.4 |
| created_at | 2023-05-10 20:51:39.745906+00 |
| updated_at | 2025-01-27 19:06:11.527877+00 |
| description | A strong and perfect connect four solver in Rust |
| homepage | |
| repository | https://github.com/pacman82/connect-four-solver/ |
| max_upload_size | |
| id | 861623 |
| size | 392,385 |
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.