blackjack-cli 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +21 -2
- data/lib/Game.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2df03bbf0092d4f4340b931d7a76f5a350ea9efe
|
|
4
|
+
data.tar.gz: 26df73639c4ea6d1546c7cc8c1eb054ee2258855
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc22fc1bd0c8cac71145ccc0fff4aa238cdcd521a94c7165356160d206ea552c04387a368ca50aa7c2afa7fc6fb4612e08bc4f8ea14dd307684f216f7b12ba71
|
|
7
|
+
data.tar.gz: af207eadacdedd12bfab604a67027c838b2ec8492a70baec40a13cb24f7015aa4e489dd09b0611668bca72356cc10e1afe194010fd7c31250f7788bceb565e27
|
data/README.md
CHANGED
|
@@ -5,6 +5,25 @@ A CLI version of Blackjack. You can play 1 or 2 players.
|
|
|
5
5
|
To play, type blackjack in terminal and enjoy!
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
##
|
|
8
|
+
##Contributing
|
|
9
9
|
|
|
10
|
-
If you'd like to
|
|
10
|
+
If you'd like to contribute feel free to fork this repo and make updates. Then PR it to me.
|
|
11
|
+
|
|
12
|
+
##More features to come :
|
|
13
|
+
|
|
14
|
+
Display Wins/loses
|
|
15
|
+
|
|
16
|
+
More players
|
|
17
|
+
|
|
18
|
+
ACII Animations
|
|
19
|
+
|
|
20
|
+
Betting
|
|
21
|
+
|
|
22
|
+
##Fixes to come:
|
|
23
|
+
Smoother text displays
|
|
24
|
+
|
|
25
|
+
Smarter AI
|
|
26
|
+
|
|
27
|
+
Feel free to log issues or request features!
|
|
28
|
+
|
|
29
|
+
Thank you for playing!
|
data/lib/Game.rb
CHANGED
|
@@ -154,7 +154,7 @@ class Game
|
|
|
154
154
|
def turn
|
|
155
155
|
@turn_count += 1 if current_player.status == "stand"
|
|
156
156
|
view_cards(current_player) if current_player.is_a?(Human)
|
|
157
|
-
get_player_card_values(current_player)
|
|
157
|
+
get_player_card_values(current_player) unless @turn_count == 0 || @turn_count == 1
|
|
158
158
|
puts "A total value of #{current_player.deck_value}" if current_player.is_a?(Human)
|
|
159
159
|
puts ""
|
|
160
160
|
options
|