Created
November 12, 2014 23:47
-
-
Save rozap/b3307f046491a85cbd86 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def rank_to_int({_, "J"}), do: 11 | |
def rank_to_int({_, "Q"}), do: 12 | |
def rank_to_int({_, "K"}), do: 13 | |
def rank_to_int({_, "A"}), do: 14 | |
def rank_to_int({_, n}), do: n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment