From: | pbrace |
Date: | 25 Aug 2000 at 16:14:10 |
Subject: | rubik's cube |
Does anybody have any idea how to write ablitz program to solve a Rubik's cube. apart from working out that there are 18 possible moves and the total number of positions is in the region of 20 digits long the only thing I can think of is a loop trying it first in one move. However
with this method the total amount of moves goes up by a factor of 18:
Moves Total number
1 18
2 324
3 5832
4 104996
5 approx 1.8 million
This leads to the proram slowing down a lot. Prehaps it would be better in C
John Brace
A1200 '040+32Mb Ram+0.5Gb hardrive+32x SCSI CD-ROM+56k modem
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie