+0
Daily
299
stars
45
forks
11
watchers
546
prs
64
issues
33
releases
README
!AUR version Berserk Chess Engine A UCI chess engine written in C. Feel free to challenge me on Lichess! Strength Rating Lists + Elo Many websites use an Elo rating system to present relative skill amongst engines. Below is a list of many chess engine lists throughout the web (variance in Elo is due to different conditions for each list) CCRL 40/15 - 3514 4CPU, 3480 1CPU CCRL 40/2 - 3667 1CPU IpMan Chess - 3547 1CPU CEGT - 3598 1CPU SPCC - 3733 1CPU ~~FGRL - 3518 1CPU~~ List no longer maintained Tournaments/Events with Berserk - TCEC - CCC - Graham's Broadcasts Functional Details Board Representation and Move Generation - Bitboards - Magic Bitboards - Staged Move Gen Search - Negamax - PVS - Quiescence - Iterative Deepening - Transposition Table - Aspiration Windows - Internal Iterative Reductions - Reverse Futility Pruning - Razoring - Null Move Pruning - ProbCut - FutilityPruning - LMP - History Pruning - SEE - Static Exchange Evaluation Pruning - LMR - Killer Heuristic - Countermove Heuristic - Extensions - Singular Evaluation - NNUE - Horizontally Mirrored 16 King Buckets (12288 inputs) - Threat Inputs (60144 features) - 2x(12288 + 60144 - 512) - Pairwise - 512 - 16 - 32 - 32 - 1 - Clamped + Squared activations, 8 Output Buckets (by piece count) - Berserk FenGen - bullet - The current trainer for all networks. - ~~Grapheus~~ - No longer in use, replaced by bullet. - ~~Koivisto's CUDA Trainer~~ - No longer in use, replaced by Grapheus and later bullet. - ~~Berserk Trainer~~ - This has been deprecated in favor of Koivisto's trainer, but trained all networks through Berserk 8.5.1+ Building bash git clone https://github.com/jhonnold/berserk && \ cd berserk/src && \ make pgo CC=clang && \ ./berserk Credit This engine could not be written without some influence and they are... Engine Influences - Stockfish - Ethereal - Koivisto - Weiss - Chess22k - BBC - Cheng Additional Resources - bullet - Grapheus - Koivisto's CUDA Trainer - OpenBench - TalkChess Forum - CCRL - JCER - Cute Chess - Arena - CPW - Lars in Grahams Broadcast rooms
Top issues
#556go nodes command doesnt give number of nodes close to requested3 comments · 2024-04-06#590For anyone having trouble on non-avx2 devices compiling berserk2 comments · 2026-02-18#587AWS nn downloads are broken.2 comments · 2025-12-07#593Thread bug1 comments · 2026-08-03#592Android Compatibility1 comments · 2026-05-25#598Mate scores reported with PVs shorter than the mate distance0 comments · 2026-09-12#588future developments0 comments · 2025-12-24#586error in evaluation.c0 comments · 2025-10-24
Latest release
Berserk 14 14 2026-05-24Berserk 14 Berserk 14 is officially available! ⚠️ About these binaries: The attached .exe files are cross-compiled from Linux with mingw-w64 and are _not_ PGO-optimized. They will run correctly but are slower than a native, profile-guided build. For best performance you are strongly encouraged to compile your own native binary (instructions below), it tunes the build to your exact CPU. Build it yourself (recommended) bash git clone https://github.com/jhonnold/berserk cd berserk/src make pgo CC=clang ARCH=native ./berserk bench make pgo produces a profile-guided, native-t