Class: Scrambler::SixBySix

Inherits:
Cube
  • Object
show all
Defined in:
lib/scrambler/cube.rb

Instance Method Summary collapse

Instance Method Details

#scramble(length = 80) ⇒ Object



42
43
44
45
# File 'lib/scrambler/cube.rb', line 42

def scramble(length = 80)
  turns = [%w(R L 2R 2L 3R 3L), %w(F B 2F 2B 3F 3B), %w(D U 2D 2U 3D 3U)]
  super turns, length
end