# 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:
```toml
[dependencies]
chess_game = "0.1.0" # replace with actual version once published