Skip to content

Instantly share code, notes, and snippets.

View bacalj's full-sized avatar
🤔

Joseph Bacal bacalj

🤔
View GitHub Profile
suits = [' of Diamonds' , ' of Hearts', ' of Clubs', ' of Spades']
values = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K' ]
deck = []
deck = values.product(suits)
deck.shuffle!
player = []
dealer = []
2.times do