rubik's cube
Blitz3D Forums/Blitz3D Programming/rubik's cube
| ||
anyone made one yet? if not, i'm gonna give it a whirl. oh... and yeah... it should have a "solve" function :) |
| ||
I like the idea, go for it :) |
| ||
Good luck writing the 'solve' function - you'll need it! :P [edit]actually forget that. As soon as I posted, a way of doing it occured to me. :) |
| ||
@10p - how? |
| ||
Start with a 'solved' cube then record all the moves to mix it up. Apply all the moves in reverse order to solve. Not very elegant and won't necessarily give you the quickest solve, but it should work... I think. :) |
| ||
almost. it will have to record every move starting from the state it was in from before it was mixed up to when you click "solve". but you're right, that's the easy way out :). |
| ||
http://lar5.com/cube/ http://wiki.playagaingames.com/tiki-index.php?page=5x5x5+Cube+Solution |
| ||
almost. it will have to record every move starting from the state it was in from before it was mixed up to when you click "solve". That's what I mean't when I said "Start with a 'solved' cube then record all the moves to mix it up". ;) |
| ||
Nice one Pert but I prefer 10p's method - I can understand it at least! |
| ||
http://www.google.co.uk/search?q=how+to+solve+a+rubiks+cube&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official |
| ||
if you're looking for solver code, there's plenty here: http://www.wrongway.org/?rubiksource kinda takes the fun out of it though. |