bin/99_game in 99_game-3.0.0.pre.89 vs bin/99_game in 99_game-3.0.0.pre.90
- old
+ new
@@ -5,11 +5,11 @@
BEGIN { # Looks at its arguements
ARGV[0] = "-h" if ARGV[0] == "--help"
ARGV[0] = "-v" if ARGV[0] == "--version"
case ARGV[0]
when "-v"
- puts "2.0.1"
+ puts "3.0.0"
exit
when "-h"
puts "\u00B7 Commands"
puts "\t\u00b7 -v/--version - display version"
puts "\t\u00B7 -h/--help - shows this message\n"
@@ -30,12 +30,12 @@
puts "\t\t\u00B7 Jokers set the value to 0"
exit
end
}
END { # Thanks for playing
- sleep(1.5)
+ sleep 1.5
puts "\n\tThanks for playing 99!"
- sleep(2.5)
+ sleep 2.5
}
$value, value1, value2, value3, dealer, user = 0,0,0,0, Hand.new(deck), Hand.new(deck)
loop do
puts "\n\tIt is the dealer's turn!"
i = 1