Skip to content

therainydev/lizhi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lizhi chess and shatranj engine

License

lgbtqia+ friendly trans rights

lizhi (荔枝) is a work-in-progress chess and shatranj engine, now written in Rust.

A note on building

lizhi benefits extensively from compiler optimizations; as a result, you are advised to build as follows: RUSTFLAGS='-C target-cpu=native' cargo build --release

Features

  • Minimal UCI support.
  • Material-counting (1, 3, 3, 5, 7) evaluation.
  • Negamax search with alpha-beta pruning.
    • Basic quiescence search: continues searching if the player to move is in check.

Todo

  • Make it play shatranj.
  • Support mostly complete UCI.
  • Make it stronger. (^-^)