Procedural blackjack in Ruby