gap> Read("/home/math6/wdj/gap/games/rubik/cube2.g"); The record 'descriptions' contains brief descriptions of the functions in this file. Functions of importance: MakeAbStabChain, FactorPermGroupElement, Shrink Operations on the 3x3x3 Rubik's Cube (c) Hernadvolgyi 1995 type gap>info(); to obtain information on the functions Size of Search space of 3x3x3 Cube: 43252003274489856000 gap> info(); Operations on the 3x3x3 Rubik's Cube (c) Hernadvolgyi 1995 Functions Implemented: - CubeList(,) where: >the First argument is a permuted list on [1..48] >the Second argument is *one* or a *list* of the following predifined operations: left,top,right,bottom,rear,front example: >c1 := CubeList(cubelist,left); >c2 := CubeList(cubelist,[left,right,bottom^-1,top^-1]); >c2 := CubeList(c2,[left^-3,bottom^5]); note that cubelist is a predifined constant representing the 'solved' cube. - DrawCube(,); where: >the First argument is a permuted list on [1..48] >the Second argument is 'LabelPrint' or 'FormatPrint' LabelPrint draws the cube's sides by *color* while FormatPrint dispalys the label-numbers example: >c1 := CubeList(cubelist,left); >DrawCube(c1,LabelPrint); # cube^left by LabelPrint >DrawCube(c1,FormatPrint); # cube^left by FormatPrint >DrawCube(cubelist,LabelPrint); # the original cube gap> c1:=CubeList(cubelist,(1,2)); Error, Function: number of args must be 3 gap> c1:=CubeList(cubelist,(1,2),cube); +--------------+ | TO TO TO | | TO TO TO | | TO TO TO | +--------------+--------------+--------------+--------------+ | LE LE LE | FR FR FR | RI RI RI | RE RE RE | | LE LE LE | FR FR FR | RI RI RI | RE RE RE | | LE LE LE | FR FR FR | RI RI RI | RE RE RE | +--------------+--------------+--------------+--------------+ | BO BO BO | | BO BO BO | | BO BO BO | +--------------+ ^