Skip to content

Solo Chess Solver built with Rust + Dioxus — interactive board, move validation, and step‑by‑step solutions.

License

Notifications You must be signed in to change notification settings

willwang-io/solo-chess-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solo Chess Solver

A lightweight, browser-based Solo Chess puzzle solver built with Rust and Dioxus.

Features

  • Place pieces on an 8x8 board and clear them with right-click.
  • Generate a capture sequence that leaves one piece.
  • Review solutions step-by-step with visual cues.

How to use

  1. Select a piece from the palette.
  2. Click squares to place pieces; right-click to remove them.
  3. Review the generated capture sequence below the board.

Development

Prerequisites

  • Rust toolchain (stable).
  • Optional: Dioxus CLI for web development.

Run locally (web)

dx serve

Build for production

dx build --release

Constraints

Solo Chess with at most two captures per piece is NP-complete1. With memoization and other minor pruning strategies, solve time becomes noticeably longer with more than 15 pieces, but that is enough to solve all the puzzles from chess.com.

Footnotes

  1. https://scale.iti.kit.edu/_media/resources/theses/ma_kolja_kuehn.pdf

About

Solo Chess Solver built with Rust + Dioxus — interactive board, move validation, and step‑by‑step solutions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors