blackjack1 2.1.0.pre → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/blackjack1 +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGRlNWUwMTMxODdjOWI2NmMzZGY5MTQ5ZmVlZDNkNDc5MjI3MTViOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjEwY2Q4NWVhMjMyMjM4ZTk4NTNkMWE3Y2VhMWMxNjU3OTFiMzQ5Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yjc5OTMyN2YwOWEzMWQxM2QyMjdkYTcwNzdlNGE0NzI0Y2Q1YTQzYTRjMGMy
|
10
|
+
ZWQ2NGNjMjE0MWY5YmM2NzVkMjY5MDI0OGQ1M2UzZWM4MGM5YTJiMmEyOGI0
|
11
|
+
NTc5Nzg5NzM5YmFmYWIyNzk3ZmI5MWU3NzM1YTZhOWFkNGZiOWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjQwYzY4MmIxZjdkZTJiNDE4ZDBmMTM3NTgxNWExZWFkNjU4OTRmNmFlMTg1
|
14
|
+
ODkzNzFjYzZiZmFkMDVjZWU3ZjcxOGFhZDI3NWNiZDNkZjhhMzQzZDUzYjdk
|
15
|
+
ZTcyODlhNzc5NzkyYTNlYTg0MjMxZWY2ZjNkMDFhNmYwNDkwOGE=
|
data/bin/blackjack1
CHANGED
@@ -31,7 +31,7 @@ unless player.blackjack?
|
|
31
31
|
loop do
|
32
32
|
puts
|
33
33
|
view.call player
|
34
|
-
if player.length == 2 then print "\t(d)ouble, (h)it, or (s)tay? "
|
34
|
+
if player.cards.length == 2 then print "\t(d)ouble, (h)it, or (s)tay? "
|
35
35
|
else; print "\t(h)it or (s)tay? "
|
36
36
|
end
|
37
37
|
action = gets.chomp.downcase
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blackjack1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0
|
4
|
+
version: 2.1.0
|
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-12-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: card_deck
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description:
|
56
70
|
email: zrp200@gmail.com
|
57
71
|
executables:
|
@@ -82,9 +96,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
96
|
version: 1.9.2
|
83
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
98
|
requirements:
|
85
|
-
- - ! '
|
99
|
+
- - ! '>='
|
86
100
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
101
|
+
version: '0'
|
88
102
|
requirements:
|
89
103
|
- Command Prompt
|
90
104
|
rubyforge_project:
|