Class: Scrambler::FourByFour

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

Instance Method Summary collapse

Instance Method Details

#scramble(length = 40) ⇒ Object



28
29
30
31
# File 'lib/scrambler/cube.rb', line 28

def scramble(length = 40)
  turns = [%w{R L Rw Lw}, %w{F B Fw Bw}, %w{D U Dw Uw}]
  super turns, length
end