bitstackchess

Crates.iobitstackchess
lib.rsbitstackchess
version0.1.1
created_at2025-06-03 01:05:02.787973+00
updated_at2025-06-03 01:09:47.625474+00
descriptionA bitboard‐based chess game engine with 10 × u128 move history
homepage
repository
max_upload_size
id1698556
size140,755
(rickKase)

documentation

README

chess_game

chess_game is a lightweight, bitboard‐based chess engine written in Rust. It provides:

  • A compact internal representation (10‐bit moves, 5‐bit piece IDs, 6‐bit squares)
  • Full game‐rule enforcement (legal move generation, special moves, check/checkmate/stalemate)
  • A simple CLI for playing via “long algebraic” input (e.g. e2e4, undo, quit)
  • A public Rust API (ChessEngine trait + GameCore implementation) for embedding in other applications
  • Zobrist hashing and a basic transposition table (for future search‐engine use)

Installation

Add this to your Cargo.toml dependencies:

[dependencies]
chess_game = "0.1.0"  # replace with actual version once published
Commit count: 0

cargo fmt