shubhampatil11/rubiks-cube-solver ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Rubik’s Cube solver in C++.

I want a program where I can enter a scrambled cube state and get back a sequence of moves that solves it. If it helps, make it work from the command line first, with a clear way to paste or type the cube colors, then print the solution step by step in a readable format.

Use the existing project structure and keep it self contained. It looks like there’s already some work around databases and pattern databases, so please wire that up if it’s useful for the solver. If anything is missing, fill in the logic so the whole thing actually runs from main.cpp and builds cleanly with CMake.

Make the output easy to understand, and include a few example scrambles or a simple demo mode so I can see it working right away. If you need to check current C++ best practices or build details, look them up online and then implement the cleanest version you can.

Are you gonna build this?

make sure you review the code using arcumet

Try freeSponsored — opens Arcumet in a new tab