Skip to content

Commit

Permalink
Merge pull request #2 from timhabermaas/skewb
Browse files Browse the repository at this point in the history
Add skewb
  • Loading branch information
timhabermaas committed Aug 20, 2014
2 parents aadb1bd + 42fd0e9 commit 312f3f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified app/assets/images/puzzles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/javascripts/scrambler.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class Cubemania.Scrambler
when "pyraminx" then @mark2["pyram"].getRandomScramble().scramble_string
when "clock" then clock(25)
when "square-1" then square1()
when "skewb" then cube [["U"], ["L"], ["R"], ["B"]], 15, ['', "'"]
else ""

cube = (turns, length) ->
variants = ['', "'", '2']
cube = (turns, length, variants=['', "'", '2']) ->
axis = rand turns.length
(
(
Expand Down

0 comments on commit 312f3f2

Please sign in to comment.