Skip to content

ranzuh/ratsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ratsu-logo

Ratsu

Chess engine written in Rust

Features

  • 0x88 board representation
  • Iterative deepening negamax search
  • Quiescence search
  • Evaluation using material, piece-square tables, and pawn structures
  • Transposition table with Zobrist hashing
  • Move ordering using PV move, TT move, MVV-LVA, Killer moves, and History heuristic
  • Check extension
  • Null move pruning
  • Principal variation search
  • Detect repetitions and fifty-move rule
  • Basic UCI support

Build & Develop

Quick build & run

cargo run

Build for release

cargo build -r

Run tests

cargo test

Format code

cargo fmt

Credit

Thanks to

  • Maksim Korzh for his Bitboard CHESS ENGINE in C and 0x88 MOVE GENERATOR youtube series which inspired me to start programming chess engines.
  • Chess Programming Wiki for all the knowledge
  • Authors of TSCP, Blunder, Rustic
  • For folks at chess programming discord servers

About

Chess engine written in Rust

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages