Expand description
A high-performance implementation of a perfect Connect Four solver.
This library provides functionality to compute the score and optimal move for any given Connect Four position.
Structs§
- AIPlayer
- An AI player that uses a solver to determine the best move to play in a Connect Four position.
- Move
Entry - Represents a single potential move entry.
- Move
Sorter - A fixed-size container that stores a list of moves sorted by score.
- Opening
Book - A cache that stores pre-computed scores for opening game positions.
- Opening
Book Generator - A utility struct for generating a new
OpeningBook
. - Position
- Represents a Connect Four position compactly as a bitboard.
- Solver
- A strong solver for finding the exact score of Connect Four positions.
- TTEntry
- Represents a single entry in the transposition table.
- Transposition
Table - A transposition table that stores results from previous searches to avoid re-computing evaluations for the same game state.
Enums§
- Difficulty
- An enum to represent the difficulty of an AI player.
- Position
Parsing Error - An enum for errors that can occur when parsing Connect Four positions.
- TTFlag
- A flag indicating what kind of information a transposition table entry represents.