99_game 3.0.1.pre.101 → 3.0.1.pre.102
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/99_game +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWRhN2I5YTZkNWQ1NmJmN2YxNGU4Mzc1N2VmMWI0NDEzNjhiM2I4Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGVjZTU2NWY1Yjc1NzE0NDdjNDYzMmE0OTQ2NzU3N2UzYmQzYzU3MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2IxNTg1ZTM4MDZlZWYzOTQwZTkzY2FiOTg1NjE3YzA3YzI2YTkyYjdmMDli
|
10
|
+
ZWM5YmJiYWQyNjcwYmVmOGM3ZGQyOGE4ZjJiYjYzYjE4NmVmYTdhYjUxNGJh
|
11
|
+
MzNmYTY4Njk0NmE2NzA1ZjM0YjYyMDM0NmQ1YWEyMjA0NjE1Mzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDAwYWQwMDE1MWNkOTU1ZTYzMGU4ZDZhYjc3YzRiNzBkY2RmODY5NTE3Y2Rj
|
14
|
+
ZTliOTM4NjE2OGEwYjI4NWJmZTc0Njc5OWZkMGJkZGY5OTA2NGI3Njk0YTgw
|
15
|
+
MDFhZGRkYTgyOWVhNjhhNWYxMzdhMmY2NjA5ZjE4MDkxZjNiNDc=
|
data/bin/99_game
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require '99_game'
|
3
3
|
include CardDeck
|
4
|
-
deck = Deck.new true
|
4
|
+
deck = Deck.new jokers: true
|
5
5
|
BEGIN { # Looks at its arguements
|
6
6
|
ARGV[0] = "-h" if ARGV[0] == "--help"
|
7
7
|
ARGV[0] = "-v" if ARGV[0] == "--version"
|
@@ -76,7 +76,7 @@ loop do
|
|
76
76
|
input, turn = gets.chomp, true
|
77
77
|
for card in user.hand
|
78
78
|
if card.num == converter(input) && turn
|
79
|
-
user.play
|
79
|
+
user.play card
|
80
80
|
turn = false
|
81
81
|
end
|
82
82
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 99_game
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.1.pre.
|
4
|
+
version: 3.0.1.pre.102
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Perlmutter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: card_deck
|