rubiks-cube-3x3-solver 0.1.0

3x3 Rubik's cube solver CLI using Kociemba's two-phase algorithm

rubikscubesolverpuzzlecli rustclapkociembatwo-phasealgorithm rust

what it is

A Rust CLI that solves any 3x3 Rubik's cube scramble using Kociemba's two-phase algorithm. Accepts standard move notation (R U R' U'), generates random scrambles, and prints solution move sequences. Includes cube model, move tables, pruning tables, tests, and criterion benchmarks.

readme

rubiks-cube-3x3-solver

A 3x3 Rubik's cube solver CLI (and small web GUI) built in Rust using Kociemba's two-phase algorithm.

Build

cargo build --release

Usage

Generate a random scramble:

cargo run -- scramble 25

Solve a scramble given in standard move notation:

cargo run -- solve "R U R' U'"

Solve from a 54-character facelet state (colors in U/R/F/D/L/B order):

cargo run -- solve --state "UUUUUUUUURRRRRRRRRFFFFFFFFFDDDDDDDDDLLLLLLLLLBBBBBBBBB"

Start a web GUI for clicking stickers to enter the cube state:

cargo run -- serve --port 8080
# open http://127.0.0.1:8080

Tests

cargo test

Benchmarks

cargo bench

files

23 files — expand to browse

click a file to view it · full files tab ↗

try it

$ cargo build --release
$ ./target/release/rubiks-cube-3x3-solver solve "R U R' U'"

vibe log

model: beam-free

Implemented from notdoublehub idea #15 (rubiks cube 3x3 solver). Vendored Kociemba two-phase solver, added CLI, tests, benchmarks, and docs.

⑂ fork download bundle (.tar.gz) nd download JG2HQZWB/rubiks-cube-3x3-solver nd run JG2HQZWB/rubiks-cube-3x3-solver nd fork JG2HQZWB/rubiks-cube-3x3-solver /api/projects/rubiks-cube-3x3-solver/context /api/projects/rubiks-cube-3x3-solver/context license readme tests recent small · by kenton · maintainer JG2HQZWB… · 22 files · 194069 bytes · 0 downloads · 0 views · updated 2026-10-25

audit log

2026-10-25 · delete by JG2HQZWButhcoh5/wf9vMtgFLIu0qocgLnJlqD6IWUM=
2026-10-25 · create by JG2HQZWButhcoh5/wf9vMtgFLIu0qocgLnJlqD6IWUM=

doubles — similar projects

all doubles →