Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gambit
command
Command gambit runs a chess game between two agents and logs each move to the terminal.
|
Command gambit runs a chess game between two agents and logs each move to the terminal. |
|
internal
|
|
|
agent
Package agent defines the pluggable AI-player interface and a registry of strategies.
|
Package agent defines the pluggable AI-player interface and a registry of strategies. |
|
agent/eval
Package eval provides static evaluation functions for chess positions.
|
Package eval provides static evaluation functions for chess positions. |
|
assets
Package assets embeds binary assets (currently the font used to render chess pieces) so they can be shared by the GUI and the demo generator without a separate copy.
|
Package assets embeds binary assets (currently the font used to render chess pieces) so they can be shared by the GUI and the demo generator without a separate copy. |
|
game
Package game orchestrates a chess game between two agents: it alternates turns, validates and applies moves, tracks game-history draw conditions (threefold repetition and the fifty-move rule), and emits a move event per ply.
|
Package game orchestrates a chess game between two agents: it alternates turns, validates and applies moves, tracks game-history draw conditions (threefold repetition and the fifty-move rule), and emits a move event per ply. |
|
log
Package log provides terminal logging of game progress, formatting each move in SAN for human readers.
|
Package log provides terminal logging of game progress, formatting each move in SAN for human readers. |
|
pkg
|
|
|
chess
Package chess is a self-contained chess engine: board state, pieces, move generation, legality checking, FEN parsing, make/unmake, and game-result detection.
|
Package chess is a self-contained chess engine: board state, pieces, move generation, legality checking, FEN parsing, make/unmake, and game-result detection. |
Click to show internal directories.
Click to hide internal directories.