Example #1
0
        public string GetScramble(int index)
        {
            Cube3 t = new Cube3();

            t.Copy(this);
            t.Turn(suffix[index]);
            Alg s = new Alg(t.GetScramble());

            s.AddRange(choice1[index / 4]);
            s.AddRange(choice2[index % 4]);
            return(s.ToString());
        }
Example #2
0
 public void Reverse()
 {
     Alg t = A; A = B; B = t;
 }
Example #3
0
 public Commutator(Alg A, Alg B, Alg setup = null)
 {
     this.A     = A;
     this.B     = B;
     this.setup = setup;
 }