Crate chessgen

source ·


  • Bit representation of board of 64 pieces.
  • ChessBoard representation.
  • Chess moves generator. Can generate attacks (BitBoard) and Moves for all Chess pieces. Queen does not have it’s own generator, rather is considered both Rook and Bishop.
  • BitBoard field Index.
  • Chess Move definition.
  • PerfT checker.
  • Zobrist hash generator for ChessBoard. This implementation uses deterministic random generator with a fixed seed, so all instances of Zobrist should be initialized with same unique numbers.