PlayRockPaperScissorsGame 1.5.6 → 1.5.7

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: 70f7eec4bafd88f8772fb50261c5a64ea40f2af3
4
- data.tar.gz: 6f2ee3b315f02821c96fb18c516d886779a20c3c
3
+ metadata.gz: ad7f50bf67583b61a98dd77ce55392769e8a3ac1
4
+ data.tar.gz: 780390dec44890b39b667bed7d283d17ef987c0d
5
5
  SHA512:
6
- metadata.gz: 8cdf3ed888cc67dcba5354e90bd024eb7698af5fa541d32fc66e8986d7c76a9c29a8262924572e2488d512220a511a45e3bb173fb86436e9299741e2eb985850
7
- data.tar.gz: e41c50ca56cdf9150e4a8e6de070943cbe7a03e2d0b410884f73c0b450747021b82430c110f4d27ca8fe8476e0e42b44d2b21cfbdacc208df6a3c5986a470cbf
6
+ metadata.gz: 5624e3541c15717165d0fe48e45ea00d1e7d559bead5fc0a2762442b8b733d2130c8959451dc2c4606aff4565de9c4473d80f51fe5c60e8262fbf5c0f7e5768a
7
+ data.tar.gz: e6330a636a771c4d2c6ee8ff6fac8addd6561a78bf22ac8274dded331b8473e86f52132080781db55d4661e235e0e689e3908d86a1670b571ce3a5c0609c1bea
@@ -39,7 +39,7 @@ class PlayRockPaperScissorsGame
39
39
  def initialize
40
40
  @player_score = @computer_score = @ties = 0;
41
41
  end;
42
- def testPlay(winning_score)
42
+ def Play(winning_score)
43
43
  while @player_score < winning_score && @computer_score < winning_score
44
44
  puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
45
45
  ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue);
data/bin/rps CHANGED
@@ -13,7 +13,7 @@ class PlayRockPaperScissorsGame
13
13
  require "colorized_string";
14
14
  ColorizedString.colors;
15
15
  ColorizedString.modes;
16
-
16
+
17
17
  class RPS
18
18
 
19
19
  protected;
@@ -39,7 +39,7 @@ class PlayRockPaperScissorsGame
39
39
  def initialize
40
40
  @player_score = @computer_score = @ties = 0;
41
41
  end;
42
- def testPlay(winning_score)
42
+ def Play(winning_score)
43
43
  while @player_score < winning_score && @computer_score < winning_score
44
44
  puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
45
45
  ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue);
data/lib/rps.rb CHANGED
@@ -11,7 +11,7 @@ class PlayRockPaperScissorsGame
11
11
  require "colorized_string";
12
12
  ColorizedString.colors;
13
13
  ColorizedString.modes;
14
-
14
+
15
15
  class RPS
16
16
 
17
17
  require "ref/Constants.rb";
@@ -29,7 +29,7 @@ class PlayRockPaperScissorsGame
29
29
  def initialize
30
30
  @player_score = @computer_score = @ties = 0;
31
31
  end;
32
- def testPlay(winning_score)
32
+ def Play(winning_score)
33
33
  while @player_score < winning_score && @computer_score < winning_score
34
34
  puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
35
35
  ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue);
data/rps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "PlayRockPaperScissorsGame"
3
- spec.version = "1.5.6"
3
+ spec.version = "1.5.7"
4
4
  spec.date = "2017-03-30"
5
5
  spec.summary = "A Rock Paper Scissors Ruby Gem"
6
6
  spec.description = "A Ruby-programmed rock paper scissors game. To install: gem install PlayRockPaperScissorsGame; To run: rps; or: PlayRockPaperScissorsGame"
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: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318