BitBully 0.0.78
A fast, perfect-play Connect-4 engine in modern C++
Loading...
Searching...
No Matches
BitBully::Board::RawState Struct Reference

Plain-data snapshot of the board's internal state. More...

#include <Board.h>

Public Attributes

TBitBoard all_tokens
 Bitboard of all occupied cells.
TBitBoard active_tokens
 Bitboard of cells held by the side to move.
TMovesCounter moves_left
 Plies left until the board is full.

Detailed Description

Plain-data snapshot of the board's internal state.

Exposed for advanced use cases (Python bindings, serialisation) where the caller needs direct access to the underlying bitboards.

Definition at line 742 of file Board.h.

Member Data Documentation

◆ active_tokens

TBitBoard BitBully::Board::RawState::active_tokens

Bitboard of cells held by the side to move.

Definition at line 744 of file Board.h.

◆ all_tokens

TBitBoard BitBully::Board::RawState::all_tokens

Bitboard of all occupied cells.

Definition at line 743 of file Board.h.

◆ moves_left

TMovesCounter BitBully::Board::RawState::moves_left

Plies left until the board is full.

Definition at line 745 of file Board.h.


The documentation for this struct was generated from the following file: