PlayRockPaperScissorsGame 2.8.4 → 2.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59ea96679884a652ab68bf5849cff6f5ce250dcb
4
- data.tar.gz: 4f77d25f38237b94a73470ce392f99682934164e
3
+ metadata.gz: 3a6dfdcc74a14ecbefe281ba755ac93a736a2f93
4
+ data.tar.gz: be5826195d88896c23ac3ff91b52304560dcd25e
5
5
  SHA512:
6
- metadata.gz: 520b9e13c1856dca04812439cc6b33b59575afe8d23e7b930f7557db9c4b230c02e8053fa2198f609418c68377045f389eb6b36d7845ba39e76f4fb19f1f7117
7
- data.tar.gz: 70581259dbc2bce8ecf4b1632d8b91c4fbf8cb385ac64a1c6040474823e1d664af2d3d4441f84f035ae7d6214340d3e777e6508eb68b02cbf41a0e8d799a16c1
6
+ metadata.gz: bb9df1e8aad3f10e0f7229c815d7b0a496eb3c42532a797898f81bf05e9161f28168d99a06b57951ab87ef604bfc43b4669e14cc9040b09534ee965ab0c6c16c
7
+ data.tar.gz: 615d24471c73afd12b893032ca9bf26dd18c1f375004007bc9a125ae3b97d5c4a12a3af0ba036172d5c19d2e0adc8a94c567232c1638dec40e8adeebd4968d32
checksums.yaml.gz.sig CHANGED
Binary file
data/docs/Code.md CHANGED
@@ -35,7 +35,7 @@ Master Code
35
35
  class PlayRockPaperScissorsGame
36
36
 
37
37
  module RockPaperScissors
38
- VERSION = "2.8.4"
38
+ VERSION = "2.8.5"
39
39
  end
40
40
 
41
41
  # import the colorize gem
@@ -60,7 +60,7 @@ class PlayRockPaperScissorsGame
60
60
  LOSERS = WINNERS.map { |player_choice,computer_choice| [computer_choice,player_choice] } # this will take the original WINNERS array and flip the symbols, thus returning a loss for the user/player
61
61
  INIT_STRINGS = [
62
62
  ColorizedString["You are about to enter a rock-paper-scissors best of 3 match."].colorize(:green),
63
- ColorizedString["Press the return/enter key to continue..."].colorize(:green),
63
+ ColorizedString["Press the return/enter key to continue..."].colorize(:green) ,
64
64
  ""
65
65
  ]
66
66
  end
@@ -152,4 +152,5 @@ end
152
152
 
153
153
  PlayRockPaperScissorsGame.new.play(2) # call the play method and pass in 3 (0, 1, 2) for the winning score
154
154
  ```
155
+
155
156
  [//]: # "end ruby"
@@ -55,7 +55,7 @@ In this particular case, the advanced code is longer and more confusing, though
55
55
  ### What Beginner's Code Looks Like
56
56
 
57
57
  [//]: # "`% ruby beginner-rps.rb`"
58
-
58
+
59
59
  ```bash
60
60
  % ruby beginner-rps.rb
61
61
  ```
@@ -143,7 +143,7 @@ class PlayRockPaperScissorsGame
143
143
  LOSERS = WINNERS.map { |player_choice,computer_choice| [computer_choice,player_choice] } # flip the values in the WINNERS array, returning a loss
144
144
  INIT_STRINGS = [
145
145
  "You are about to enter a rock-paper-scissors best of 3 match.",
146
- "Press the return/enter key to continue...",
146
+ "Press the return/enter key to continue..." ,
147
147
  ""
148
148
  ]
149
149
  end
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
data/docs/_site/code.html CHANGED
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
@@ -69,7 +69,7 @@
69
69
  <span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
70
70
 
71
71
  <span class="k">module</span> <span class="nn">RockPaperScissors</span>
72
- <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.8.4"</span>
72
+ <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.8.5"</span>
73
73
  <span class="k">end</span>
74
74
 
75
75
  <span class="c1"># import the colorize gem</span>
@@ -94,7 +94,7 @@
94
94
  <span class="no">LOSERS</span> <span class="o">=</span> <span class="no">WINNERS</span><span class="p">.</span><span class="nf">map</span> <span class="p">{</span> <span class="o">|</span><span class="n">player_choice</span><span class="p">,</span><span class="n">computer_choice</span><span class="o">|</span> <span class="p">[</span><span class="n">computer_choice</span><span class="p">,</span><span class="n">player_choice</span><span class="p">]</span> <span class="p">}</span> <span class="c1"># this will take the original WINNERS array and flip the symbols, thus returning a loss for the user/player</span>
95
95
  <span class="no">INIT_STRINGS</span> <span class="o">=</span> <span class="p">[</span>
96
96
  <span class="no">ColorizedString</span><span class="p">[</span><span class="s2">"You are about to enter a rock-paper-scissors best of 3 match."</span><span class="p">].</span><span class="nf">colorize</span><span class="p">(</span><span class="ss">:green</span><span class="p">),</span>
97
- <span class="no">ColorizedString</span><span class="p">[</span><span class="s2">"Press the return/enter key to continue..."</span><span class="p">].</span><span class="nf">colorize</span><span class="p">(</span><span class="ss">:green</span><span class="p">),</span>
97
+ <span class="no">ColorizedString</span><span class="p">[</span><span class="s2">"Press the return/enter key to continue..."</span><span class="p">].</span><span class="nf">colorize</span><span class="p">(</span><span class="ss">:green</span><span class="p">)</span> <span class="p">,</span>
98
98
  <span class="s2">""</span>
99
99
  <span class="p">]</span>
100
100
  <span class="k">end</span>
@@ -188,6 +188,7 @@
188
188
  </code></pre>
189
189
  </div>
190
190
 
191
+
191
192
 
192
193
  <footer class="site-footer">
193
194
 
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
@@ -195,7 +195,7 @@
195
195
  <span class="no">LOSERS</span> <span class="o">=</span> <span class="no">WINNERS</span><span class="p">.</span><span class="nf">map</span> <span class="p">{</span> <span class="o">|</span><span class="n">player_choice</span><span class="p">,</span><span class="n">computer_choice</span><span class="o">|</span> <span class="p">[</span><span class="n">computer_choice</span><span class="p">,</span><span class="n">player_choice</span><span class="p">]</span> <span class="p">}</span> <span class="c1"># flip the values in the WINNERS array, returning a loss</span>
196
196
  <span class="no">INIT_STRINGS</span> <span class="o">=</span> <span class="p">[</span>
197
197
  <span class="s2">"You are about to enter a rock-paper-scissors best of 3 match."</span><span class="p">,</span>
198
- <span class="s2">"Press the return/enter key to continue..."</span><span class="p">,</span>
198
+ <span class="s2">"Press the return/enter key to continue..."</span> <span class="p">,</span>
199
199
  <span class="s2">""</span>
200
200
  <span class="p">]</span>
201
201
  <span class="k">end</span>
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
@@ -7,7 +7,7 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
8
  <meta name="theme-color" content="#157878"/>
9
9
  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=8b6a5cd2298ae3e6af5bd90a8bb56279a528d1b2"/>
10
+ <link rel="stylesheet" href="/assets/css/style.css?v=cc4e88700a84e9459b417c59fb9c1be9e3fdb7ad"/>
11
11
  <script src="assets/js/pace.min.js"></script>
12
12
 
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
data/lib/rps/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RockPaperScissors
2
- VERSION = "2.8.4"
2
+ VERSION = "2.8.5"
3
3
  end
data/rps.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "PlayRockPaperScissorsGame"
3
- spec.version = "2.8.4"
4
- spec.date = "2017-05-19"
3
+ spec.version = "2.8.5"
4
+ spec.date = "2017-05-22"
5
5
  spec.summary = "A Rock Paper Scissors Ruby Gem"
6
6
  spec.description = <<-EOF
7
7
  A Ruby-programmed rock paper scissors game.
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ���
1
+ ����m�����<k�����p���݉j}i�ш�8�߲�C����eEI�������g�/�p����:� �
2
+ \�˺m�!��?��������=���s�#c�Z!��vn۾��f/n�
3
+ jePud$/�4���IȊ��Lp~���6��� �3̍#�B��m��KhMև��
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PlayRockPaperScissorsGame
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.4
4
+ version: 2.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318
@@ -30,7 +30,7 @@ cert_chain:
30
30
  ft+uhriUZSVDBJRLSlrQEH2f0866a9dA4oUmvvFU46Mh6pozDjOcLJIp/tCnbVOc
31
31
  HSdXPrjfOoDbhBPH/4wUd5P0rDoNKN1hxH4SzA==
32
32
  -----END CERTIFICATE-----
33
- date: 2017-05-19 00:00:00.000000000 Z
33
+ date: 2017-05-22 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: bundler
metadata.gz.sig CHANGED
Binary file