bitstackchess 0.1.1

A bitboard‐based chess game engine with 10 × u128 move history
Documentation
  • Coverage
  • 71.3%
    82 out of 115 items documented0 out of 67 items with examples
  • Size
  • Source code size: 140.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.39 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rickKase

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