https://github.com/pacman82/connect-four-solver
https://github.com/pacman82/connect-four-solver
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pacman82/connect-four-solver
- Owner: pacman82
- License: agpl-3.0
- Created: 2023-05-03T19:54:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-25T19:34:25.000Z (4 months ago)
- Last Synced: 2025-01-25T19:47:13.706Z (4 months ago)
- Language: Rust
- Size: 225 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perfect Connect Four
A perfect connect four solver in Rust.
Inspired by this tutorial for writing a perfect and strong solver for connect four:
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.