{"id":43232160,"url":"https://github.com/ppipelin/radiance","last_synced_at":"2026-02-01T10:10:11.780Z","repository":{"id":278040061,"uuid":"933881707","full_name":"ppipelin/radiance","owner":"ppipelin","description":"UCI Chess Engine written in Zig","archived":false,"fork":false,"pushed_at":"2026-01-26T23:17:28.000Z","size":312,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-27T10:27:18.875Z","etag":null,"topics":["chess","engine","uci"],"latest_commit_sha":null,"homepage":"https://lichess.org/@/RadianceEngine","language":"Zig","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/ppipelin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-16T22:19:27.000Z","updated_at":"2026-01-26T23:17:32.000Z","dependencies_parsed_at":"2025-03-11T11:32:19.562Z","dependency_job_id":"d91ddfe0-7be7-4288-ad10-184a1a437a03","html_url":"https://github.com/ppipelin/radiance","commit_stats":null,"previous_names":["ppipelin/radiancerecharged","ppipelin/radiance"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ppipelin/radiance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppipelin%2Fradiance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppipelin%2Fradiance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppipelin%2Fradiance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppipelin%2Fradiance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppipelin","download_url":"https://codeload.github.com/ppipelin/radiance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppipelin%2Fradiance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T09:57:52.632Z","status":"ssl_error","status_checked_at":"2026-02-01T09:57:49.143Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chess","engine","uci"],"created_at":"2026-02-01T10:10:11.313Z","updated_at":"2026-02-01T10:10:11.774Z","avatar_url":"https://github.com/ppipelin.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Radiance Engine\n[![Build Status](https://github.com/ppipelin/radiance/actions/workflows/tests.yml/badge.svg)](https://github.com/ppipelin/radiance/actions/workflows/tests.yml)\n[![Latest Release](https://img.shields.io/github/v/release/ppipelin/radiance?display_name=release)](https://github.com/ppipelin/radiance/releases)\n![License](https://img.shields.io/github/license/ppipelin/radiance)\n\n[![Lichess classical rating](https://lichess-shield.vercel.app/api?username=radianceengine\u0026format=classical)](https://lichess.org/@/radianceengine/perf/classical)\n[![Lichess rapid rating](https://lichess-shield.vercel.app/api?username=radianceengine\u0026format=rapid)](https://lichess.org/@/radianceengine/perf/rapid)\n[![Lichess blitz rating](https://lichess-shield.vercel.app/api?username=radianceengine\u0026format=blitz)](https://lichess.org/@/radianceengine/perf/blitz)\n[![Lichess bullet rating](https://lichess-shield.vercel.app/api?username=radianceengine\u0026format=bullet)](https://lichess.org/@/radianceengine/perf/bullet)\n\n:zap: Zig chess engine :zap:\n\n![Radiance Logo, courtesy of Jim Ablett](dcu2Wsn.png \"Image Credit: Jim Ablett\")\n\n## Move Generation and Ordering\n\n- Fancy Magic Bitboards\n- [Staged](https://www.chessprogramming.org/Move_Generation#Staged_Move_Generation) Move Generation\n- Transposition Table Move Ordering\n- Principal Variation Move Ordering\n- [Static Exchange Evaluation](https://www.chessprogramming.org/Static_Exchange_Evaluation)\n- [Chess960](https://www.chessprogramming.org/Chess960) support\n\n## Search\n\n- [Principal Variation Search](https://www.chessprogramming.org/Principal_Variation_Search)\n- [Alpha-Beta](https://www.chessprogramming.org/Alpha-Beta) Pruning\n- [Aspiration Window](https://www.chessprogramming.org/Aspiration_Windows)\n- [Late Move Reductions](https://www.chessprogramming.org/Late_Move_Reductions)\n- [Null Move Pruning](https://www.chessprogramming.org/Null_Move_Pruning)\n- [Reverse Futility Pruning](https://www.chessprogramming.org/Reverse_Futility_Pruning)\n- Mate pruning\n- Razoring\n- Internal iterative reductions\n- [Quiescence Search](https://www.chessprogramming.org/Quiescence_Search)\n- Threefold Repetition\n- Time Management\n\n## Evaluation\n\n- [Tuned](https://www.chessprogramming.org/PeSTO%27s_Evaluation_Function) Piece-square Tables\n- [_AlphaZero_ Average Piece Values](https://arxiv.org/pdf/2009.04374)\n- Tapered Evaluation\n- Transposition Table Evaluation\n- Endgame Heuristics\n- Pawn Structures Heuristics\n- Bishop pair bonus\n- Mobility Bonus\n\n## Versions tournament\n\nTime control: 120+1\n\nCCRL [blitz benchmark](https://computerchess.org.uk/ccrl/404/cgi/compare_engines.cgi?family=Radiance\u0026print=Rating+list\u0026print=Score+with+common+opponents).\n\n| Rank | Name             | CCRL  |  Elo |  + |  - | games | score | oppo. | draws |\n| ---- | ---------------- | ----- | ---- | -- | -- | ----- | ----- | ----- | ----- |\n|    1 | [radiance_4.2]   |       | 1844 | 10 | 10 |  4096 |   81% |  1594 |   22% |\n|    2 | [radiance_4.1]   |  1674 | 1673 | 10 | 10 |  5371 |   65% |  1489 |   18% |\n|    3 | [radiance_4.0.1] |       | 1514 |  8 |  8 | 12264 |   75% |  1165 |    8% |\n|    4 | [radiance_3.5]   |  1321 | 1256 |  8 |  7 | 10216 |   66% |  1059 |   11% |\n|    5 | [radiance_3.4]   |  1300 | 1232 |  8 |  8 | 10218 |   64% |  1062 |   11% |\n|    6 | [radiance_3.3]   |       | 1180 |  8 |  8 | 10216 |   59% |  1068 |   11% |\n|    7 | [radiance_3.2]   |       | 1169 |  8 |  7 | 10215 |   58% |  1070 |   11% |\n|    8 | [radiance_3.1.1] |  1114 |  999 |  8 |  8 |  9552 |   45% |  1049 |    9% |\n|    9 | [radiance_3.0.1] |       |  722 |  9 |  9 |  9552 |   20% |  1084 |    9% |\n|   10 | [radiance_2.4]   |       |  681 |  9 |  9 |  9552 |   16% |  1089 |   10% |\n|   11 | [radiance_2.3]   |   864 |  636 |  9 |  9 |  9552 |   13% |  1095 |    9% |\n\n\n## Getting started\n\n### Compile and run\n\n```\nzig build run -relase=fast\n```\n\n### Deploy\n\n```\nzig build deploy\n```\n\n### Test\n\n```\nzig build test --release=safe\n```\n\n### UCI options\n\n| Name           | Type  | Default value       |  Valid values                     | Description                                          |\n| -------------- | ----- | ------------------- | --------------------------------- | ---------------------------------------------------- |\n| `Hash`         | spin  |         256         |             [1, 65535]            | Memory allocated to the transposition table (in MB). |\n| `Threads`      | spin  |          1          |               [1, 1]              | Number of threads used to search.                    |\n| `Evaluation`   | combo |        \"PSQ\"        | [\"PSQ\", \"Shannon\", \"Materialist\"] | Type of evaluation function.                         |\n| `Search`       | combo |  \"NegamaxAlphaBeta\" |   [\"NegamaxAlphaBeta\", \"Random\"]  | Type of search function.                             |\n| `UCI_Chess960` | check |        false        |          [\"true\", \"false\"]        |                                                      |\n\n### Commands\n\n- `uci`\n- `isready`\n- `setoption name \u003cid\u003e [value \u003cx\u003e]`\n- `position [fen \u003cstring\u003e | startpos | kiwi | lasker] [moves \u003cstring\u003e...]`\n- `eval`\n- `go [movetime \u003cint\u003e | [wtime \u003cint\u003e] [btime \u003cint\u003e] [winc \u003cint\u003e] [binc \u003cint\u003e] | depth \u003cint\u003e | infinite | perft \u003cint\u003e]`\n- `bench`\n- `stop`\n- `quit`\n- `ucinewgame`\n- `d`\n\n### Archive\n\nThis project was originaly written in C++ before 4.0 version and archived under the name [radiance_archived](https://github.com/ppipelin/radiance_archived).\n\n### Aknowledgments\n\n- [Avalanche](https://github.com/SnowballSH/Avalanche) engine is a great example of how a zig project should be coded. Radiance engine still uses its pseudo random number generator (MIT License - Copyright (c) 2023 Yinuo Huang).\n- [Stockfish](https://github.com/official-stockfish/Stockfish) with its aggressive pruning methods.\n- [Chess Programming Wiki](https://www.chessprogramming.org/Main_Page).\n\n_I'm radiant!_\n\n[radiance_4.2]: https://github.com/ppipelin/radiance/releases/tag/4.2\n[radiance_4.1]: https://github.com/ppipelin/radiance/releases/tag/4.1\n[radiance_4.0.1]: https://github.com/ppipelin/radiance/releases/tag/4.0.1\n[radiance_3.5]: https://github.com/ppipelin/radiance_archived/releases/tag/3.5\n[radiance_3.4]: https://github.com/ppipelin/radiance_archived/releases/tag/3.4\n[radiance_3.3]: https://github.com/ppipelin/radiance_archived/releases/tag/3.3\n[radiance_3.2]: https://github.com/ppipelin/radiance_archived/releases/tag/3.2\n[radiance_3.1.1]: https://github.com/ppipelin/radiance_archived/releases/tag/3.1.1\n[radiance_3.0.1]: https://github.com/ppipelin/radiance_archived/releases/tag/3.0.1\n[radiance_2.4]: https://github.com/ppipelin/radiance_archived/releases/tag/2.4\n[radiance_2.3]: https://github.com/ppipelin/radiance_archived/releases/tag/2.3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppipelin%2Fradiance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppipelin%2Fradiance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppipelin%2Fradiance/lists"}