Skip to content

Instantly share code, notes, and snippets.

@jasonnoble
Created June 16, 2015 01:02
Show Gist options
  • Save jasonnoble/30524c5b10d8483b0707 to your computer and use it in GitHub Desktop.
Save jasonnoble/30524c5b10d8483b0707 to your computer and use it in GitHub Desktop.
suits = ['♠', '♥', '♦', '♣']
ranks = (1..10).map(&:to_s) + ['J', 'Q', 'K', 'A']
suits.each do |suit|
ranks.each do |rank|
# Make a card utilizing suit and rank
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment