{"id":49916659,"url":"https://github.com/znxftw/rudim","last_synced_at":"2026-06-06T12:00:58.881Z","repository":{"id":43674064,"uuid":"386431707","full_name":"znxftw/rudim","owner":"znxftw","description":"UCI-compliant chess engine written in Rust","archived":false,"fork":false,"pushed_at":"2026-06-04T05:43:58.000Z","size":672,"stargazers_count":12,"open_issues_count":13,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-06-04T07:20:10.828Z","etag":null,"topics":["chess","chessengine","rust","rust-lang"],"latest_commit_sha":null,"homepage":"https://lichess.org/@/rudim-bot","language":"Rust","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/znxftw.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-15T21:45:43.000Z","updated_at":"2026-05-29T04:03:13.000Z","dependencies_parsed_at":"2024-12-07T19:22:10.909Z","dependency_job_id":"09e47321-563f-410e-90d0-64f6f44727d8","html_url":"https://github.com/znxftw/rudim","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/znxftw/rudim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znxftw%2Frudim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znxftw%2Frudim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znxftw%2Frudim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znxftw%2Frudim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znxftw","download_url":"https://codeload.github.com/znxftw/rudim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znxftw%2Frudim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33981125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","chessengine","rust","rust-lang"],"created_at":"2026-05-16T17:09:16.376Z","updated_at":"2026-06-06T12:00:58.879Z","avatar_url":"https://github.com/znxftw.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rudim\n[![Pipeline](https://github.com/znxftw/rudim/actions/workflows/pipeline.yml/badge.svg)](https://github.com/znxftw/rudim/actions/workflows/pipeline.yml)\n\nRudim is a chess engine written in Rust.\n\nYou can play against Rudim on lichess: [rudim-bot](https://lichess.org/@/rudim-bot). (Hosted version: v2.2.1)\n\nSeries of blog posts on how I wrote rudim : [vishnubhagyanath.dev](https://vishnubhagyanath.dev/tags/rudim/) (these reference the older C# implementation, rudim was rewritten in rust)\n\n## Architecture Overview\n\nRudim currently implements these core engine capabilities:\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eBoard Representation\u003c/b\u003e\u003c/summary\u003e\n\n- Bitboards, Magic Bitboards\n- Phased Pseudo-Legal Move Generation\n- Zobrist Hashing\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eSearch\u003c/b\u003e\u003c/summary\u003e\n\n- Iterative Deepening with Aspiration Windows\n- Negamax + Alpha-Beta Pruning\n- Principal Variation Search\n- Quiescence Search\n- Two-tiered Transposition Table\n- Move Ordering (SEE, MVV-LVA, Killer, History, Hash, PV)\n- Null Move Pruning\n- Late Move Reductions\n- Futility Pruning\n- Reverse Futility Pruning\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eEvaluation\u003c/b\u003e\u003c/summary\u003e\n\n- [NNUE](https://github.com/znxftw/rudim-networks) Architecture: (768 -\u003e 32) x 2 -\u003e 1\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eOther\u003c/b\u003e\u003c/summary\u003e\n\n- UCI Protocol support\n\u003c/details\u003e\n\n## Prerequisites\n\n- Rust stable toolchain (`rustup` + `cargo`)\n\n## Build and Run\n\n- Build: `cargo build`\n- Release build: `cargo build --release`\n- Run engine (UCI loop): `cargo run`\n- Run perft suite: `cargo run -- --perft`\n- Generate magic numbers: `cargo run -- --generate-magics`\n\n## Quality Checks\n\n- Tests: `cargo test`\n- Lint (Clippy): `cargo clippy --all-targets --all-features`\n- Format: `cargo fmt --all`\n\n## Benchmarks\n\nRudim uses Criterion benchmarks to validate how some sample position searches are performing\n\n- Run all benches: `cargo bench`\n- Main benchmark suite (`find_best_move` at depth 6-7 on standard positions) lives in `benches/search_benchmark.rs`.\n\n## Acknowledgements\n\n- [maksimKorzh](https://github.com/maksimKorzh) for his YouTube series on on bitboard chess engines\n- [bullet](https://github.com/jw1912/bullet) - used for training the NNUE\n- [Reckless](https://github.com/codedeliveryservice/Reckless), [Viridithas](https://github.com/cosmobobak/viridithas), [Hobbes](https://github.com/kelseyde/hobbes-chess-engine) - took some references for Rust optimizations they did\n- ChessProgramming wiki, TalkChess, Engine Programming Discord Server\n\n## Contributing\n\nPRs are welcome.\n\nBefore opening a PR, please run:\n\n- `cargo fmt --all -- --check`\n- `cargo clippy --all-targets --all-features`\n- `cargo test`\n\nIf your change affects search strength, run a tournament/regression check as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznxftw%2Frudim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznxftw%2Frudim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznxftw%2Frudim/lists"}