Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chamini2/rubiks_cube
Rubik's cube solver using PDB, developed in C++.
https://github.com/chamini2/rubiks_cube
c-plus-plus pdb rubik-cube rubik-cube-solver
Last synced: about 4 hours ago
JSON representation
Rubik's cube solver using PDB, developed in C++.
- Host: GitHub
- URL: https://github.com/chamini2/rubiks_cube
- Owner: chamini2
- License: mit
- Created: 2014-03-16T05:35:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-09T04:43:30.000Z (over 10 years ago)
- Last Synced: 2023-12-12T23:10:38.299Z (11 months ago)
- Topics: c-plus-plus, pdb, rubik-cube, rubik-cube-solver
- Language: C++
- Size: 1.69 GB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rubiks_cube
===========Rubik's cube solver using PDB, developed in C++.
Solution
========+ We'll be using three (3) different PDBs:
+ A PDB showing the distance from any given configuration of the **eight (8) corners** of the cube to the desired configuration *(goal)* of the corners.
+ A PDB showing the distance from any given configuration of **six (6) (or seven (7) or eight (8)) edges** of the cube to the desired configuration *(goal)* of said edges.
+ A PDB showing the distance from any given configuration of the **remaining six (6) (or five (5) or four (4)) edges** of the cube to the desired configuration *(goal)* of said edges.
+ IDA*The cube in ASCII art
front = white
back = yellow
right = red
left = orange
top = blue
down = green
____________
/ / / /\
/___/___/___/ \
/ / T / /\ /\
L/___/___/___/ \/ \B
/ / / /\ /\ /\
/___/___/___/ \/ \/ \
\ \ \ \ /\R /\ /
\___\___\___\/ \/ \/
\ \ F \ \ /\ /
\___\___\___\/ \/D
\ \ \ \ /
\___\___\___\/