7_half 0.0.2.pre.1 → 0.0.2.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/7_half +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmJlNmM2MjM0YjM2MzJkOWI3YzVmZTRjMDRhMGM1MDExZTEwNGU1Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjlmMzFhODM1OTFkODZiN2YyZDZiYTk0OGU4NmJiNzg0MTY1NTM3ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGFlNzA4ZjI2NDIzYTJkYWNmMjE5ZWE2NDEyYzc4NzUxNmUyOWMzYWVlMzI3
|
10
|
+
MzgwMWRlY2QzZjRiMWE5Y2Q2Njk2ODYwMDYyZWU2ODY1MTliMzlhOWQ1MWI3
|
11
|
+
MTcwYjdmMjk2MjMxNTI3ODFmNjY0Yjc2NTUwMzBjZjg3NDMxODY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTE2MWRlNWQwOTBkMzRkMzExYWRlOWIzMDhjYWVlNTUyNTIyNDg0NzUzZTI5
|
14
|
+
MTY4MjkwMjE3M2ZmMjVlNmNhNTk0ZWQ1YTFkMDA4NDBhYTY0OGM1OTQ3ODYw
|
15
|
+
ZDc2ZjdkNDM3OTQ3NTA3YWFjMjMzYzA5YWQ5NWVlMGU1OTU4YzE=
|
data/bin/7_half
CHANGED
@@ -11,7 +11,7 @@ end
|
|
11
11
|
player, dealer = Hand.new, Hand.new
|
12
12
|
s_puts "Your turn!", 1
|
13
13
|
loop do # Player's turn
|
14
|
-
s_puts "You have #{player.cards}"
|
14
|
+
s_puts "You have #{player.cards} and a value of #{player.value}"
|
15
15
|
break if (player.bust? || player.value == 7.5)
|
16
16
|
print "\tDo you want to (h)it or (s)tay? "
|
17
17
|
case gets.chomp.downcase[0]
|