Skip to content

maksimKorzh/bbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBC (Bit Board Chess)

  • UCI chess engine by Code Monkey King
  • written for didactic purposes and
  • covered in 82 YouTube video series

YouTube tutorials

IMAGE ALT TEXT HERE

CCRL 1957 ELO rating

Testing

If your engine is stronger than 2500 ELO there's no much sense in playing matches
versus BBC for at the moment it would most likely lose all the games.
On the other hand testing versus engines of 2000 - 2300 ELO is welcomed!

Test matches

https://github.com/maksimKorzh/bbc/tree/master/pgn

Features

  • bitboard board representation
  • pre-calculated attack tables
  • magic bitboards for sliding pieces
  • encoding moves as integers
  • copy/make approach for making moves
  • negamax search with alpha beta pruning
  • PV/killer/history move ordering
  • iterative deepening
  • PVS (Principle Variation Search)
  • LMR (Late Move Reduction)
  • NMP (Null Move Pruning)
  • Transposition table (up to 128MB)
  • Material/PST (Positional Square Tables) evaluation
  • Tapered evaluation
  • UCI protocol

Credits

This project would never be completed
without the help of Talk Chess forum
community members who has been helping me
during the development process significantly
I would like to thank to:

  • HaraldLuessen & Pedro Castro Elgarresta for neverending hints and technical support
  • Sven Schüle for explaining how mating scores works in TT (in great details!)
  • Jay Warendorff for testing development versions of BBC
  • Marcel Vanthoor for teaching me linear algebra and general inspirations
  • Ronald Friederich for providing PeSTO evaluation tables and sharing his ideas

And all the subscribers watching my videos and
motivating me to keep the development!

Support the project

https://www.patreon.com/code_monkey_king

About

Bit Board Chess (BBC) - The easiest to understand bitboard chess engine by Code Monkey King

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages