GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 39hops/ply: From-scratch alpha-beta UCI chess engine in Rust — magic bitboards, NNUE eval, modern search. Targeting ~3500 Elo.

BranchesTags
Open more actions menu

Latest commit

 

History

179 Commits
179 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.github
.github
 
 
docs
docs
 
 
engine
engine
 
 
handoffs
handoffs
 
 
plugins
plugins
 
 
scripts
scripts
 
 
skills
skills
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
uci
uci
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
rustfmt.toml
rustfmt.toml
 
 

Repository files navigation

ply

A from-scratch alpha-beta UCI chess engine in Rust. Targeting 3500 Elo single-thread / 3650 multi-thread (8 cores) on the dev box, measured against CCRL 40/15. Stretch: 3600 / 3700 if NNUE training overshoots.

Path to target: magic-bitboard movegen → full search arsenal (LMR, singular extensions, aspiration, futility) → HalfKP NNUE small → HalfKAv2_hm NNUE full → SPSA tuning + Syzygy + Lazy SMP. Aggressive sacrificial style available via UCI Style = Aggressive flag (Neutral default).

Day one: nothing is implemented. The repository ships the operating contract, project doc, phase ledger, scripts, CI, design spec, and Phase 1 plan. Engine code lands phase by phase against plans under docs/superpowers/plans/.

Status

See docs/PHASE_STATUS.md for the verified-delivery ledger and CLAUDE.md for the current-state table. Per AGENTS.md §1, a feature counts only when it's both implemented and verified.

Build

# macOS / Linux
scripts/setup.sh
scripts/build.sh        # cargo build --release
scripts/test.sh         # fmt + clippy + cargo test + perft

# Windows
scripts\win-setup.bat
scripts\win-build.bat
scripts\win-test.bat

UNVERIFIED until Phase 0 ships.

Workspace

engine/      Rust library  — board, movegen, eval (HCE + NNUE), search, TT, SMP, Syzygy
uci/         Rust binary   — UCI protocol shell
bench/       Rust binary   — perft, nps, Bratko-Kopec, ordo gauntlet
datagen/     Rust binary   — self-play position dumps (binpack format)
tuner/       Rust binary   — SPSA tuning loop wrapping cutechess-cli
trainer/     Python        — PyTorch NNUE training (separate subproject)
nets/        binary blobs  — trained NN weights (git-lfs or gitignored)
data/        binpack files — training corpora (gitignored)

Docs

  • AGENTS.md — agent operating contract (honesty floor).
  • CLAUDE.md — project operating doc (stack, style, current state).
  • docs/CAPABILITIES.md — honest can / cannot.
  • docs/ARCHITECTURE.md — crate DAG + module layout + key interfaces.
  • docs/ROADMAP.md — phases 0..13, exit criteria.
  • docs/PHASE_STATUS.md — verified-delivery ledger.
  • docs/superpowers/specs/2026-05-23-ply-design.md — full design spec.
  • docs/superpowers/plans/ — per-phase implementation plans.
  • docs/style/rust.md — Rust style for this project.
  • handoffs/ — session-to-session notes.

License

Apache-2.0. See LICENSE. © 2026 Artin Azizi.

About

From-scratch alpha-beta UCI chess engine in Rust — magic bitboards, NNUE eval, modern search. Targeting ~3500 Elo.

Topics

alpha-beta-pruningbitboardschess-enginennuerustuci

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.