CLI tools for blindfolded Rubik's cube solving (3BLD / 5BLD).
Scramble generation, solution analysis, commutator utilities, and cube visualization for practicing blind solving with Old Pochmann method.
Requires Qt 5+ and a C++11 compiler.
qmake
make# Analyze a scramble (shows ASCII cube, solution in letters, statistics)
./bld_tools_strings analyze "R U R' F2 D B2 L U2 R2 F2 D'"
# Same analysis with Speffz (Latin) letter scheme
./bld_tools_strings --speffz analyze "R U R' F2 D B2 L U2 R2 F2 D'"
# Generate 50 guaranteed-not-easy 3BLD scrambles
./bld_tools_strings bgt 50 /tmp/scrambles.txt
# Launch interactive training GUI
./bld_tools_strings gui| Command | Description |
|---|---|
gui |
Launch interactive training GUI |
analyze <scramble> |
One-shot scramble analysis (cube + solution + stats) |
info |
Interactive stdin scramble analysis (enter scrambles one at a time) |
bgt [count] [output] |
Generate 3BLD scrambles, guaranteed not easy (default: 250) |
hard [output] |
Generate hard 3BLD scrambles (runs continuously) |
gen [output] |
Generate average 5BLD scrambles (runs continuously) |
filter <in> <out> [max] |
Filter scrambles by edge solution length |
comms <in> <out> [buffer] [--inv] |
Convert tab-separated table to commutator list |
mirror <in> <out> |
Mirror algorithms left-to-right |
freq [count] [output] |
Letter-pair frequency analysis (default: 10000 scrambles) |
paired <input> |
Paired-edge statistics for a scramble file |
Running with no arguments prints usage help.
Two letter schemes are supported:
- Cyrillic (default): С Л О К Ж И Г Х Ф Ч П М Е Ш А Р У З Т Д Б Н В
- Speffz (Latin): A B C D E F G H I J K L M N O P Q R S T U V W X
Switch to Speffz with the --speffz global flag before the command name:
./bld_tools_strings --speffz analyze "R U R' U'"The solution output uses single-character codes for piece types:
| Code | Piece Type |
|---|---|
c |
Corners (3x3) |
e |
Edges (3x3) |
w |
Wings (5x5) |
x |
X-centers (5x5) |
t |
T-centers (5x5) |
- Edges / Wings / T-centers: UF
- Corners / X-centers: URB
Pieces are solved in order: c x t w e (corners, x-centers, t-centers, wings, edges).
| Module | Description |
|---|---|
cubestate |
Core cube engine — state representation, move application, OP solving |
globals |
Letter schemes, piece configs, target orders, buffers |
cubedrawer |
ASCII cube visualization |
optests |
Scramble generation, filtering, analysis tools |
commutator |
Commutator parsing, notation conversion, mirroring |
scramble_processing |
Move normalization, inverses, rotations, wide-move expansion |
iterativescramble |
Random scramble generation |
commutatorfinder |
Commutator search / brute-force solver |
statefeatures |
Scramble difficulty metrics (cycles, flips, twists, parity) |
appform |
Qt GUI for interactive training |
tools_customization |
User-specific tool configuration |
- 4BLD is not specifically supported, but the 5x5 engine covers the same piece types (wings, x-centers, t-centers).
- The
bgtcommand filters out scrambles that are "too easy" — no solved pieces, minimum cycle count, and low visual regularity. - The
hardandgencommands run continuously; stop them with Ctrl+C.