2026-01-24 16:52:05 +05:30
2026-01-24 01:05:33 +05:30
2026-01-24 16:52:05 +05:30
2026-01-24 01:05:33 +05:30
2026-01-22 16:29:29 +05:30
2025-02-23 15:26:42 +05:30
2026-01-22 15:52:52 +05:30
2026-01-22 15:52:52 +05:30
2025-01-04 16:18:49 +05:30
2026-01-24 01:05:33 +05:30

Solitaire Chess Puzzle Generator

Goal: Generate 'hard' puzzles.

Play a demo of the game here

Install

  • cargo install --git https://github.com/cool-mist/sol_chess sol_chess
  • Run sol_chess to start a windowed GUI game.

Update

  • cargo install --git https://github.com/cool-mist/sol_chess sol_chess --force

CLI Usage

  • cargo install --git https://github.com/cool-mist/sol_chess sol_cli

  • Run sol_cli to start the CLI tool.

  • Generate a puzzle

$ sol_cli -g -n 6
Generating a puzzle with 6 pieces with a maximum of 5 solutions
                Total attempts:    16
           Total pieces placed:   131
         Success pieces placed:    96

               ♙  ♗  .  .               

               .  .  .  .               

               ♗  ♖  .  .               

               ♙  .  .  ♙               


              id: wmgYAAAG     
  • Solve a puzzle by ID, or by board string
$ sol_cli --solve wmgYAAAG
$ sol_cli --solve-board pb......br..p..p

               ♙  ♗  .  .               

               .  .  .  .               

               ♗  ♖  .  .               

               ♙  .  .  ♙               


              id: wmgYAAAG              

1. RxBb4
2. RxPa4
3. RxBa2
4. RxPa1
5. RxPd1
There are atleast 1 solutions to this puzzle

S
Description
Solitaire chess solver and puzzle generator implemented in rust
Readme AGPL-3.0 2.3 MiB
Languages
Rust 96.5%
Shell 2.9%
HTML 0.6%