This is awesome, how do you make something like that, like give me a summary of how the program works. I worked with openGL with C++, so maybe i could use that to make the 3d object. :D
for example, if you want to solve the cube using the friedrich method, write an algorithm to solve the cross, then to solve the bottom 2 layers, then orient last layer, than permute last layer. the program would be huge, especially the algorithm to solve the first 2 layers would be massive, but it is possible
I agree, it wasn't the smallest number of moves but it was the easiest solution that I found. Before writing this program I had never tried to solved a Rubik's cube so it was a good learning experience :)
this is easy to be solved, everyone can do it its just a simple trick how to turn the sides, just look it up in some forums, type "magic cube help" in google or sth, you will see its no problem to solve any magic cube in about 60 sec.
Best of luck. Considering how many possible moves are there, for me brute force method is not the right way to go. It will take hours (if not days)to calculate the solution. Though some heuristics may improve the time.
But it would be intereting to see what is the smallest moves to solve it. As far as I can recall, no rubik's cube arrangement so far required more than 19 moves when solved by brute force technique.
You should do a demo without it ^^. I've never had a scramble start with a white cross. Also, teaching it more efficient algorithms would make it way faster as well.
Is your program also written in strict OOP design syntax? Also, where did you get the original algorithm to solve the cube...and do you have just one algorithm you based the program on or was there more than one choice to pick from and you chose one particular algorithm?
Comment removed
KocirovD 14 hours ago
Assians are solving cubes faster than you PC
Vartrex5 2 months ago
Would it be possible to take out the need for a webcam?
fireboy3666 9 months ago
Where can we download it??
Makenor13 1 year ago
what did u use for cube color rotation?
try solving it in fridrich's method.
sridarshan23 1 year ago
This is awesome, how do you make something like that, like give me a summary of how the program works. I worked with openGL with C++, so maybe i could use that to make the 3d object. :D
tlarson91119 2 years ago
I agree, this wasn't the shortest way but the easiest
naderc 2 years ago
did you write input parser for webcam images yourself?
Gregor386 2 years ago
Yes, but I used a library called Open CV to help with some basic operations like recognizing the webcam etc
naderc 2 years ago
Is there any chance you could show me the source codes? I think it would help my current project a great deal.
Gregor386 2 years ago
dont get me wrong, this is quite impressive to write a program like this, but you should work on solving the cube in fewer moves
ImaginaryHuman072889 2 years ago 2
You mean he should use some kind of algorithm?
There are a few algorithms designed for the Rubik's cube, perhaps he could look into it.
However, this is very impressive.
hiimchris06 2 years ago
for example, if you want to solve the cube using the friedrich method, write an algorithm to solve the cross, then to solve the bottom 2 layers, then orient last layer, than permute last layer. the program would be huge, especially the algorithm to solve the first 2 layers would be massive, but it is possible
ImaginaryHuman072889 2 years ago
started with the white +
naught405 1 year ago
I agree, it wasn't the smallest number of moves but it was the easiest solution that I found. Before writing this program I had never tried to solved a Rubik's cube so it was a good learning experience :)
naderc 2 years ago
@naderc I suggest looking at some of Dan Brown's videos on how to solve Rubik's cubes.
Anonymous5125 1 year ago
white cross was done
Thacuber123 3 years ago
I know a better First you take the left side and turn it up then take the top and move it left Comment me if it worked !!XbenX!!
XbenX05 3 years ago
where can i download that
schreiber37 3 years ago
Damn. No one would be EVER able to solve that one by hand.
FRURMELLL 3 years ago
this is easy to be solved, everyone can do it its just a simple trick how to turn the sides, just look it up in some forums, type "magic cube help" in google or sth, you will see its no problem to solve any magic cube in about 60 sec.
SirMalor 3 years ago
lol, why do you say magic? its rubik's cube
taftic4 3 years ago 2
Do your research. It was originally called the "Magic Cube".
Try Wikipedia.
GManNickG 2 years ago
ok thank you for the answer, but "Its" name isn't "magic cube" anyhow...
taftic4 2 years ago
And to think that a human can do all that in a few seconds.. amazing
Haedos 3 years ago
thats cool it is amazing what computer programs can do
vgt7 3 years ago
excellent work!!! kudos!!!
benwholl 3 years ago
im gonna write a brute force algorithm program in C to find the best way, that did seem way too many moves
gremlinextreme101 3 years ago
indeed wtf...
b03tz 3 years ago
Best of luck. Considering how many possible moves are there, for me brute force method is not the right way to go. It will take hours (if not days)to calculate the solution. Though some heuristics may improve the time.
But it would be intereting to see what is the smallest moves to solve it. As far as I can recall, no rubik's cube arrangement so far required more than 19 moves when solved by brute force technique.
mihassan 3 years ago
i want this program where can i get it
cr4zys4lm4n 3 years ago
12 steps.
kahless88 3 years ago
No, 22 :P
b03tz 3 years ago
Is this program still available? I can't find it anywhere and I am really interested in trying it!
Linkman90 3 years ago
where can i get the program lol
haro912 3 years ago
This comment has received too many negative votes show
oh wow fappin material for nerds
tehmethod10 3 years ago
that was cool, did you try to make it figure out a way to solve in the least amount of moves? cause that would be better...
Bushlaba 3 years ago
i can solve it faster than the comp yeah i feel so proud of myself.
evolvedape10000 4 years ago
lol cool it used the beginner's method, cool!!
howardleung 4 years ago
Good, though it needed a lot of steps to solve it. It's possible to solve each combination in less than 22 steps.
Erdbeertee 4 years ago
do you mean steps or moves?
DIABLOKING248 4 years ago
moves
duboda 3 years ago
That's awesome. But make it solve it with Fridrich. It'll be fastera and cooler.
caLIM2 4 years ago
Do you always start with the white cross?
lvboi03 4 years ago
No, not necessarily. :)
naderc 4 years ago
You should do a demo without it ^^. I've never had a scramble start with a white cross. Also, teaching it more efficient algorithms would make it way faster as well.
lvboi03 4 years ago
I so admire smart people!
polarbear60 4 years ago
Is your program also written in strict OOP design syntax? Also, where did you get the original algorithm to solve the cube...and do you have just one algorithm you based the program on or was there more than one choice to pick from and you chose one particular algorithm?
izeman458 4 years ago
It's partially in OOP, but it could have been decomposed into further classes. I'm only starting to learn about serious oop design now, at my job.
The algorith that I used can be found here:
mathematische-basteleien [dot] de [slash] rubikscube.htm
naderc 4 years ago
holy shit, you wrote this program?! Damn, your a god at C++, and Rubik's Cubing. Also, will this be free :D
kant2222 4 years ago
thats a nice peace of c++ scripting
how long are you scripting whit this?
NLJuzzzNL 4 years ago
It took me about 2 months, but I also had 5 classes to attend.
naderc 4 years ago
H0ly KRAP!!!
Br0wnPr1d3Rules 4 years ago
I want that program!!!!
where can I get it????
kobe122 4 years ago
I will upload it sometime this week to the CV Rubik website mentioned in the description.
naderc 4 years ago
Lmfao nice program but it's a bit long ><
VanityandGreed 4 years ago
i want that program :D
Checonski 4 years ago
rofl, nice
LtUnreal 4 years ago
Thanks :)
naderc 4 years ago
hey. Is there anyplace where i can get the program?
Farid13 4 years ago