A very thorough coverage of different ways to represent Rubik’s cube was covered by Howard Peelle in APL, presented at the APL84 conference.
The paper is very interesting as a guideline to consider different representations of the cube in an array language, you could seek to obtain copies from either; ACM Library (dl.acm.org/ft_gateway.cfm?id=801107&type=pdf <http://dl.acm.org/ft_gateway.cfm?id=801107&type=pdf>) if you have ACM access ResearchGate (https://www.researchgate.net/publication/234812676_Representing_rubik's_cube_in_APL <https://www.researchgate.net/publication/234812676_Representing_rubik's_cube_in_APL>) scribd (https://www.scribd.com/document/283768625/Representing-Rubik-s-Cube-in-Apl <https://www.scribd.com/document/283768625/Representing-Rubik-s-Cube-in-Apl>) In the third reference you can see a brief section of the paper which conveys the descriptive way Howard Peelle approached this. The cubes are readily modelled in APL, but would require to be implemented in J. Thanks, Rob > On 29 Nov. 2016, at 10:30 pm, Björn Helgason <[email protected]> wrote: > > I know there was a Rubik's cube using apl2 and gddm. > > There is a 3d demo in jhs showing a cube that can be rotated. > > On 20 Nov 2016 00:09, "Richard Donovan" <[email protected]> wrote: > >> Hi! >> >> Has anyone written a J program to solve a Rubik’s cube? >> >> TIA >> >> Richard >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
