{"id":22898496,"url":"https://github.com/jhonnold/berserk","last_synced_at":"2025-05-07T23:08:03.380Z","repository":{"id":37019221,"uuid":"338725826","full_name":"jhonnold/berserk","owner":"jhonnold","description":"UCI Chess Engine written in C","archived":false,"fork":false,"pushed_at":"2025-04-16T02:26:53.000Z","size":60944,"stargazers_count":244,"open_issues_count":4,"forks_count":32,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-05-07T23:07:56.164Z","etag":null,"topics":["c","chess-engine"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhonnold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-02-14T04:05:18.000Z","updated_at":"2025-03-25T13:57:50.000Z","dependencies_parsed_at":"2023-11-29T15:27:01.878Z","dependency_job_id":"ebb3b561-0b9d-4e7d-a194-2ea405bc6722","html_url":"https://github.com/jhonnold/berserk","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonnold%2Fberserk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonnold%2Fberserk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonnold%2Fberserk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonnold%2Fberserk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhonnold","download_url":"https://codeload.github.com/jhonnold/berserk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252968117,"owners_count":21833251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","chess-engine"],"created_at":"2024-12-14T00:32:33.735Z","updated_at":"2025-05-07T23:08:03.354Z","avatar_url":"https://github.com/jhonnold.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![AUR version](https://img.shields.io/aur/version/berserk)\n\n# Berserk Chess Engine\n\n\u003cimg src=\"resources/berserk.jpg\" alt=\"Berserk\" width=\"400\" /\u003e\n\nA UCI chess engine written in C. Feel free to challenge me on [Lichess](https://lichess.org/@/BerserkEngine)!\n\n## Strength\n\n### Rating Lists + Elo\n\nMany websites use an [Elo rating system](https://en.wikipedia.org/wiki/Elo_rating_system) to present relative skill amongst engines.\nBelow is a list of many chess engine lists throughout the web (*variance in Elo is due to different conditions for each list*)\n\n* [CCRL 40/15](https://ccrl.chessdom.com/ccrl/4040/) - **3514 4CPU, 3480 1CPU**\n* [CCRL 40/2](https://ccrl.chessdom.com/ccrl/404/) - **3667 1CPU**\n* [IpMan Chess](https://ipmanchess.yolasite.com/r9-7945hx.php) - **3547 1CPU**\n* [CEGT](http://www.cegt.net/40_4_Ratinglist/40_4_single/rangliste.html) - **3598 1CPU**\n* [SPCC](https://www.sp-cc.de/) - **3733 1CPU**\n* ~~[FGRL](www.fastgm.de/60-0.60.html) - **3518 1CPU**~~\n  * List no longer maintained\n\n### Tournaments/Events with Berserk\n\n- [TCEC](https://tcec-chess.com/)\n- [CCC](https://www.chess.com/computer-chess-championship)\n- [Graham's Broadcasts](https://ccrl.live/)\n\n## Functional Details\n\n### Board Representation and Move Generation\n\n- [Bitboards](https://www.chessprogramming.org/Bitboards)\n  - [Magic Bitboards](https://www.chessprogramming.org/Magic_Bitboards)\n- [Staged Move Gen](https://www.chessprogramming.org/Move_Generation#Staged_move_generation)\n\n### Search\n\n- [Negamax](https://www.chessprogramming.org/Negamax)\n  - [PVS](https://www.chessprogramming.org/Principal_Variation_Search)\n- [Quiescence](https://www.chessprogramming.org/Quiescence_Search)\n- [Iterative Deepening](https://www.chessprogramming.org/Iterative_Deepening)\n- [Transposition Table](https://www.chessprogramming.org/Transposition_Table)\n- [Aspiration Windows](https://www.chessprogramming.org/Aspiration_Windows)\n- [Internal Iterative Reductions](https://www.talkchess.com/forum3/viewtopic.php?f=7\u0026t=74769)\n- [Reverse Futility Pruning](https://www.chessprogramming.org/Reverse_Futility_Pruning)\n- [Razoring](https://www.chessprogramming.org/Razoring)\n- [Null Move Pruning](https://www.chessprogramming.org/Null_Move_Pruning)\n- [ProbCut](https://www.chessprogramming.org/ProbCut)\n- [FutilityPruning](https://www.chessprogramming.org/Futility_Pruning)\n  - [LMP](https://www.chessprogramming.org/Futility_Pruning#MoveCountBasedPruning)\n- History Pruning\n- [SEE](https://www.chessprogramming.org/Static_Exchange_Evaluation)\n  - Static Exchange Evaluation Pruning\n- [LMR](https://www.chessprogramming.org/Late_Move_Reductions)\n- [Killer Heuristic](https://www.chessprogramming.org/Killer_Heuristic)\n- [Countermove Heuristic](https://www.chessprogramming.org/Countermove_Heuristic)\n- [Extensions](https://www.chessprogramming.org/Extensions)\n  - [Singular](https://www.chessprogramming.org/Singular_Extensions)\n\n### Evaluation\n\n- [NNUE](https://www.chessprogramming.org/NNUE)\n  - Horizontally Mirrored 16 Buckets\n  - 2x(12288 -\u003e 512) -\u003e 1\n- [Berserk FenGen](https://github.com/jhonnold/berserk/tree/fen-gen)\n- [Grapheus](https://github.com/Luecx/Grapheus)\n- ~~[Koivisto's CUDA Trainer](https://github.com/Luecx/CudAD)~~\n  - This has been deprecated in favor of an even newer trainer written by Luecx, Grapheus.\n- ~~[Berserk Trainer](https://github.com/jhonnold/berserk-trainer)~~\n  - This has been deprecated in favor of Koivisto's trainer, but trained all networks through Berserk 8.5.1+\n\n## Building\n\n```bash\ngit clone https://github.com/jhonnold/berserk \u0026\u0026 \\\ncd berserk/src \u0026\u0026 \\\nmake pgo CC=clang \u0026\u0026 \\\n./berserk\n```\n\n## Credit\n\nThis engine could not be written without some influence and they are...\n\n### Engine Influences\n\n- [Stockfish](https://github.com/official-stockfish/Stockfish)\n- [Ethereal](https://github.com/AndyGrant/Ethereal)\n- [Koivisto](https://github.com/Luecx/Koivisto)\n- [Weiss](https://github.com/TerjeKir/weiss)\n- [Chess22k](https://github.com/sandermvdb/chess22k)\n- [BBC](https://github.com/maksimKorzh/chess_programming)\n- [Cheng](https://www.chessprogramming.org/Cheng)\n\n### Additional Resources\n\n- [Grapheus](https://github.com/Luecx/Grapheus)\n- [Koivisto's CUDA Trainer](https://github.com/Luecx/CudAD)\n- [OpenBench](https://github.com/AndyGrant/OpenBench)\n- [TalkChess Forum](http://talkchess.com/forum3/viewforum.php?f=7)\n- [CCRL](https://kirill-kryukov.com/chess/discussion-board/viewforum.php?f=7)\n- [JCER](https://chessengines.blogspot.com/p/rating-jcer.html)\n- [Cute Chess](https://cutechess.com/)\n- [Arena](http://www.playwitharena.de/)\n- [CPW](https://www.chessprogramming.org/Main_Page)\n- Lars in Grahams Broadcast rooms\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhonnold%2Fberserk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhonnold%2Fberserk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhonnold%2Fberserk/lists"}