Skip to content

Instantly share code, notes, and snippets.

View SViccari's full-sized avatar

Stephanie Viccari SViccari

View GitHub Profile
@SViccari
SViccari / blackjack.rb
Created August 25, 2013 21:56
Apollo Assignment - Blackjack
#!/usr/bin/env ruby
# encoding: UTF-8
SUITS = ['♠', '♣', '♥', '♦']
VALUES = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A']
def build_deck
deck = []
SUITS.each do |suit|