Skip to content

Hin-Yu-Evan-Fung/Maestro-Chess-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maestro Chess Engine

A chess engine project for learning c++. It has a decent search speed (Average of depth 20 - Blitz 1/5) and a fast move generator.

Important

  • This engine uses ideas from different open source chess engines (Stockfish, Ethreal, etc) so it is not fully original
  • Credits to Maksim Korzh and BluefeverSoft for their amazing videos on chess engines.
  • Uses a NNUE network from Stockfish.
  • Credits to Daniel Shawul for his NNUE probe library.
  • Credits to JA for his contributions to embedded NNUE nets

Demo

alt text

  • link1 (Faster engine speeds but website could be down)
  • link2 (More reliable but 7x slower)

Performance

  • Rough estimate of 2800 elo

Features

Move generation

  • Magic Bitboards (wiki)
    • PEXT intrinsics (Optional) (wiki)
    • Fancy Magic Bitboards (wiki)
  • Fully Legal and Fast Move Generator
    • Keep tracks of pins and checks etc
    • Generation speeds up to 400Mnps on a i7-10750H with Turbo boost

Move ordering

  • Capture History Table
  • Killer Move Heuristics
  • History Table (wiki)
  • Continuation History Table
  • MVV-LVA (wiki)
  • Staged Move Generation
  • Static Exchange Evaluation (wiki)

Search

  • Iterative Deepening (wiki)
  • Classic Alpha Beta Search (wiki)
    • Negamax
  • Quiescence Search (wiki)
  • Transposition Table (wiki)
    • Dynamic allocation
    • Buckets
  • Futility Pruning (wiki)
  • Reverse Futility Pruning
  • Null Move Pruning (wiki)
  • Internal Iterative Deepening/Reductions (wiki)
  • Prob Cut Pruning (wiki)
  • Razoring (wiki)
  • Late Move Reductions (wiki)
  • Static Exchange Evaluation Pruning
  • Singular Extension Search (wiki)
  • Multicut Pruning
  • Late Move Pruning
  • Principal variation search (wiki)

Evaluation

  • PeSTO tables (wiki)

About

A strong UCI chess engine that uses Stockfish NNUE

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors