Skip to content

Instantly share code, notes, and snippets.

@reite
Created March 23, 2014 15:04
Show Gist options
  • Save reite/9724183 to your computer and use it in GitHub Desktop.
Save reite/9724183 to your computer and use it in GitHub Desktop.
logic =
true:
4: ['3 Brights + Rain Man', 7]
5: ['5 Brights', 10]
false:
3: ['3 Brights', 5]
4: ['4 Brights', 8]
[@bright_type, @bright] = logic[has(captures, RAIN_MAN)][num_20pt_cards] or ['<none>', 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment