Skip to content

Instantly share code, notes, and snippets.

View timhabermaas's full-sized avatar

Tim Habermaas timhabermaas

  • Freiburg, Germany
View GitHub Profile
def square1_scramble
scramble = []
up_layer = (0..7).map{|i| i%2 == 0 ? 30 : 60}
down_layer = [up_layer].flatten!
length = 0
begin
up_moves = possible_moves up_layer
down_moves = possible_moves down_layer
up_move = up_moves.sample
down_moves.delete 0 if up_move == 0
@timhabermaas
timhabermaas / corner cases.yml
Created June 1, 2011 21:50
BH with buffer UBL
---
That Sune:
:number_of_cases: 9
:cases:
- :stickers:
- UBL
- LFU
- RUF
- :stickers:
- UBL
@timhabermaas
timhabermaas / corner_cases.yml
Created May 20, 2011 10:00
Corner Cases for BH
---
That Sune:
:number_of_cases: 9
:cases:
- :stickers:
- ULF
- FRU
- BUR
- :stickers:
- ULF