PlayRo2kPaperScissorsGame 2.0.2
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 +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +7 -0
- data/Gemfile +11 -0
- data/LICENSE +21 -0
- data/README.md +38 -0
- data/Rakefile +17 -0
- data/bin/PlayRockPaperScissorsGame +101 -0
- data/bin/rps +101 -0
- data/certs/gem-public_cert.pem +21 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/jekyll-theme-cayman.scssc +0 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/normalize.scssc +0 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/rouge-github.scssc +0 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/variables.scssc +0 -0
- data/docs/CODE_OF_CONDUCT.md +84 -0
- data/docs/CONTRIBUTING.md +43 -0
- data/docs/Gemfile +4 -0
- data/docs/LICENSE +116 -0
- data/docs/Testing.md +24 -0
- data/docs/_config.yml +11 -0
- data/docs/_layouts/default.html +48 -0
- data/docs/_sass/jekyll-theme-cayman.scss +345 -0
- data/docs/_sass/normalize.scss +424 -0
- data/docs/_sass/rouge-github.scss +209 -0
- data/docs/_sass/variables.scss +23 -0
- data/docs/_site/CODE_OF_CONDUCT.html +127 -0
- data/docs/_site/CONTRIBUTING.html +86 -0
- data/docs/_site/Testing.html +68 -0
- data/docs/_site/assets/css/style.css +318 -0
- data/docs/_site/index.html +126 -0
- data/docs/_site/script/bootstrap +6 -0
- data/docs/_site/script/cibuild +6 -0
- data/docs/_site/script/release +42 -0
- data/docs/_site/script/server +3 -0
- data/docs/assets/css/style.scss +4 -0
- data/docs/index.md +59 -0
- data/docs/jekyll-theme-cayman.gemspec +18 -0
- data/docs/script/bootstrap +6 -0
- data/docs/script/cibuild +6 -0
- data/docs/script/release +42 -0
- data/docs/script/server +3 -0
- data/docs/thumbnail.png +0 -0
- data/exec/rps.bash +73 -0
- data/exec/run.bat +26 -0
- data/exec/uninstall.sh +32 -0
- data/lib/ref/Constants.rb +24 -0
- data/lib/ref/PrivateMethods.rb +30 -0
- data/lib/rps.rb +66 -0
- data/lib/rps/version.rb +3 -0
- data/rps.gemspec +38 -0
- data/test/test_rps.rb +97 -0
- metadata +188 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
require "colorized_string"
|
2
|
+
ColorizedString.colors
|
3
|
+
ColorizedString.modes
|
4
|
+
module Constants
|
5
|
+
protected
|
6
|
+
NTRY_TO_SYM = {
|
7
|
+
'p' => :PAPER,
|
8
|
+
'r' => :ROCK,
|
9
|
+
's' => :SCISSORS
|
10
|
+
}
|
11
|
+
VALID_ENTRIES = NTRY_TO_SYM.keys
|
12
|
+
COMPUTER_CHOICES = NTRY_TO_SYM.values
|
13
|
+
WINNERS = [
|
14
|
+
[:SCISSORS, :PAPER],
|
15
|
+
[:PAPER, :ROCK],
|
16
|
+
[:ROCK, :SCISSORS]
|
17
|
+
] # format: player choice, computer choice
|
18
|
+
LOSERS = WINNERS.map { |i,j| [j,i] } # this will take the original WINNERS array and flip the symbols, thus returning a loss for the user/player
|
19
|
+
INIT_STRINGS = [
|
20
|
+
ColorizedString["You are about to enter a rock-paper-scissors best of 3 match."].colorize(:green),
|
21
|
+
ColorizedString["Press the return/enter key to continue..."].colorize(:green),
|
22
|
+
""
|
23
|
+
]
|
24
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require "colorized_string"
|
2
|
+
ColorizedString.colors
|
3
|
+
ColorizedString.modes
|
4
|
+
module PrivateMethods
|
5
|
+
private
|
6
|
+
class << self
|
7
|
+
def player_choice
|
8
|
+
loop do
|
9
|
+
print ColorizedString["Choose rock (r), paper (p) or scissors (s): "].colorize(:green)
|
10
|
+
choice = gets.chomp.downcase
|
11
|
+
|
12
|
+
if Constants::NTRY_TO_SYM.key?(choice)
|
13
|
+
return Constants::NTRY_TO_SYM[choice]
|
14
|
+
elsif choice != Constants::VALID_ENTRIES
|
15
|
+
puts ColorizedString["That entry is invalid. Please re-enter"].colorize(:green)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
def player_outcome(plays)
|
20
|
+
return :WIN if Constants::WINNERS.include?(plays)
|
21
|
+
return :LOSE if Constants::LOSERS.include?(plays)
|
22
|
+
return :TIE if !:WIN | !:LOSE
|
23
|
+
end
|
24
|
+
def final_outcome(pl, co)
|
25
|
+
return :WIN if pl > co
|
26
|
+
return :LOSE if pl < co
|
27
|
+
return :TIE if pl = co
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/rps.rb
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
|====================================|
|
3
|
+
| Req Ruby Ver | Req Ruby Gems Ver |
|
4
|
+
|--------------|---------------------|
|
5
|
+
| >= v2.0.0 | >= v2.6.10 |
|
6
|
+
|====================================|
|
7
|
+
=end
|
8
|
+
|
9
|
+
class PlayRockPaperScissorsGame
|
10
|
+
|
11
|
+
require "colorized_string"
|
12
|
+
ColorizedString.colors
|
13
|
+
ColorizedString.modes
|
14
|
+
|
15
|
+
require "ref/Constants.rb"
|
16
|
+
|
17
|
+
class << self
|
18
|
+
def continue(str1, str2, str3)
|
19
|
+
puts ColorizedString[str1].colorize(:color => :green)
|
20
|
+
print ColorizedString[str2].colorize(:color => :green)
|
21
|
+
gets
|
22
|
+
puts ColorizedString[str3].colorize(:color => :green)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
continue(Constants::INIT_STRINGS[0], Constants::INIT_STRINGS[1], Constants::INIT_STRINGS[2])
|
26
|
+
def initialize
|
27
|
+
@player_score = @computer_score = @ties = 0
|
28
|
+
end
|
29
|
+
def play(winning_score)
|
30
|
+
while @player_score < winning_score && @computer_score < winning_score
|
31
|
+
puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
|
32
|
+
ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue)
|
33
|
+
player = PrivateMethods.player_choice
|
34
|
+
computer = Constants::COMPUTER_CHOICES.sample
|
35
|
+
puts ColorizedString["\nPlayer chooses #{player.to_s.downcase}"].colorize(:blue)
|
36
|
+
puts ColorizedString["Computer chooses #{computer.to_s.downcase}"].colorize(:blue)
|
37
|
+
case PrivateMethods.player_outcome [player, computer]
|
38
|
+
when :WIN
|
39
|
+
puts ColorizedString["#{player.to_s.capitalize} beats #{computer.to_s.downcase}, player wins the round"].colorize(:red)
|
40
|
+
@player_score += 1
|
41
|
+
when :LOSE
|
42
|
+
puts ColorizedString["#{computer.to_s.capitalize} beats #{player.to_s.downcase}, computer wins the round"].colorize(:red)
|
43
|
+
@computer_score += 1
|
44
|
+
else
|
45
|
+
puts ColorizedString["Tie, choose again"].colorize(:red)
|
46
|
+
@ties += 1
|
47
|
+
end
|
48
|
+
end
|
49
|
+
puts ColorizedString["\nFinal score: player: #{@player_score}, "].colorize(:blue) +
|
50
|
+
ColorizedString["computer: #{@computer_score} (ties: #{@ties})"].colorize(:blue)
|
51
|
+
case PrivateMethods.final_outcome(@player_score, @computer_score)
|
52
|
+
when :WIN
|
53
|
+
puts ColorizedString["Player wins!"].colorize(:red)
|
54
|
+
when :LOSE
|
55
|
+
puts ColorizedString["Computer wins!"].colorize(:red)
|
56
|
+
else
|
57
|
+
puts ColorizedString["It's a tie!"].colorize(:red)
|
58
|
+
end
|
59
|
+
gets
|
60
|
+
end
|
61
|
+
require "ref/PrivateMethods.rb"
|
62
|
+
end
|
63
|
+
|
64
|
+
|
65
|
+
PlayRockPaperScissorsGame.new.play(2) # best of 3
|
66
|
+
|
data/lib/rps/version.rb
ADDED
data/rps.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "PlayRo2kPaperScissorsGame"
|
3
|
+
spec.version = "2.0.2"
|
4
|
+
spec.date = "2017-04-02"
|
5
|
+
spec.summary = "A Rock Paper Scissors Ruby Gem"
|
6
|
+
spec.description = <<-EOF
|
7
|
+
A Ruby-programmed rock paper scissors game.
|
8
|
+
To install: gem install PlayRockPaperScissorsGame;
|
9
|
+
To run: rps; or: PlayRockPaperScissorsGame;
|
10
|
+
For issues: https://github.com/bag3318/RockPaperScissors/issues
|
11
|
+
EOF
|
12
|
+
spec.author = "bag3318"
|
13
|
+
spec.platform = Gem::Platform::RUBY
|
14
|
+
spec.require_paths = ["lib", "lib/ref", "lib/rps", "test", "exec", "bin", "docs", "certs"]
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.test_files = ["test/test_rps.rb"]
|
17
|
+
spec.post_install_message = "Thanks for installing! I hope you have fun playing rock paper scissors! :)"
|
18
|
+
spec.license = "MIT"
|
19
|
+
spec.homepage = "https://bag3318.github.io/RockPaperScissors/"
|
20
|
+
spec.extra_rdoc_files = "README.md"
|
21
|
+
spec.required_ruby_version = ">= 2.0.0"
|
22
|
+
spec.required_rubygems_version = ">= 2.6.0"
|
23
|
+
spec.cert_chain = ["certs/gem-public_cert.pem"]
|
24
|
+
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
|
25
|
+
spec.bindir = "bin"
|
26
|
+
spec.executables << "rps"
|
27
|
+
spec.executables << "PlayRockPaperScissorsGame"
|
28
|
+
spec.requirements << "A Windows or Mac computer."
|
29
|
+
spec.metadata = {
|
30
|
+
"issue_tracker" => "https://github.com/bag3318/RockPaperScissors/issues",
|
31
|
+
"source_code" => "https://github.com/bag3318/RockPaperScissors" ,
|
32
|
+
"releases" => "https://github.com/bag3318/RockPaperScissors/releases"
|
33
|
+
}
|
34
|
+
spec.add_runtime_dependency "bundler" , "~> 1.14.6"
|
35
|
+
spec.add_runtime_dependency "colorize", "~> 0.8.1"
|
36
|
+
spec.add_runtime_dependency "rake" , "~> 12.0.0"
|
37
|
+
spec.add_runtime_dependency "rvm" , "~> 1.11.3.9"
|
38
|
+
end
|
data/test/test_rps.rb
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
=begin
|
2
|
+
|====================================|
|
3
|
+
| Req Ruby Ver | Req Ruby Gems Ver |
|
4
|
+
|--------------|---------------------|
|
5
|
+
| >= v2.0.0 | >= v2.6.10 |
|
6
|
+
|====================================|
|
7
|
+
=end
|
8
|
+
|
9
|
+
class RakeTest # create test
|
10
|
+
|
11
|
+
require "colorized_string"
|
12
|
+
ColorizedString.colors
|
13
|
+
ColorizedString.modes
|
14
|
+
|
15
|
+
module Constants
|
16
|
+
protected
|
17
|
+
NTRY_TO_SYM = { 'p' => :PAPER, 'r' => :ROCK, 's' => :SCISSORS }
|
18
|
+
VALID_ENTRIES = NTRY_TO_SYM.keys
|
19
|
+
COMPUTER_CHOICES = NTRY_TO_SYM.values
|
20
|
+
WINNERS = [[:SCISSORS, :PAPER], [:PAPER, :ROCK], [:ROCK, :SCISSORS]] # format: player choice, computer choice
|
21
|
+
LOSERS = WINNERS.map { |i,j| [j,i] } # this will take the original WINNERS array and flip the symbols, thus returning a loss for the user/player
|
22
|
+
INIT_STRINGS = ["You are about to enter a rock-paper-scissors best of 3 match.", "Press the return/enter key to continue...", ""]
|
23
|
+
end
|
24
|
+
class << self
|
25
|
+
def continue(str1, str2, str3)
|
26
|
+
puts ColorizedString[str1].colorize(:color => :green)
|
27
|
+
print ColorizedString[str2].colorize(:color => :green)
|
28
|
+
gets
|
29
|
+
puts ColorizedString[str3].colorize(:color => :green)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
continue(Constants::INIT_STRINGS[0], Constants::INIT_STRINGS[1], Constants::INIT_STRINGS[2])
|
33
|
+
def initialize
|
34
|
+
@player_score = @computer_score = @ties = 0
|
35
|
+
end
|
36
|
+
def testPlay(winning_score)
|
37
|
+
while @player_score < winning_score && @computer_score < winning_score
|
38
|
+
puts ColorizedString["Player score: #{@player_score}, "].colorize(:blue) +
|
39
|
+
ColorizedString["Computer score: #{@computer_score}, Ties: #{@ties}"].colorize(:blue)
|
40
|
+
player = PrivateMethods.player_choice
|
41
|
+
computer = Constants::COMPUTER_CHOICES.sample
|
42
|
+
puts ColorizedString["\nPlayer chooses #{player.to_s.downcase}"].colorize(:blue)
|
43
|
+
puts ColorizedString["Computer chooses #{computer.to_s.downcase}"].colorize(:blue)
|
44
|
+
case PrivateMethods.player_outcome [player, computer]
|
45
|
+
when :WIN
|
46
|
+
puts ColorizedString["#{player.to_s.capitalize} beats #{computer.to_s.downcase}, player wins the round"].colorize(:red)
|
47
|
+
@player_score += 1
|
48
|
+
when :LOSE
|
49
|
+
puts ColorizedString["#{computer.to_s.capitalize} beats #{player.to_s.downcase}, computer wins the round"].colorize(:red)
|
50
|
+
@computer_score += 1
|
51
|
+
else
|
52
|
+
puts ColorizedString["Tie, choose again"].colorize(:red)
|
53
|
+
@ties += 1
|
54
|
+
end
|
55
|
+
end
|
56
|
+
puts ColorizedString["\nFinal score: player: #{@player_score}, "].colorize(:blue) +
|
57
|
+
ColorizedString["computer: #{@computer_score} (ties: #{@ties})"].colorize(:blue)
|
58
|
+
case PrivateMethods.final_outcome(@player_score, @computer_score)
|
59
|
+
when :WIN
|
60
|
+
puts ColorizedString["Player wins!"].colorize(:red)
|
61
|
+
when :LOSE
|
62
|
+
puts ColorizedString["Computer wins!"].colorize(:red)
|
63
|
+
else
|
64
|
+
puts ColorizedString["It's a tie!"].colorize(:red)
|
65
|
+
end
|
66
|
+
gets
|
67
|
+
end
|
68
|
+
module PrivateMethods
|
69
|
+
private
|
70
|
+
class << self
|
71
|
+
def player_choice
|
72
|
+
loop do
|
73
|
+
print ColorizedString["Choose rock (r), paper (p) or scissors (s): "].colorize(:green)
|
74
|
+
choice = gets.chomp.downcase
|
75
|
+
if Constants::NTRY_TO_SYM.key?(choice)
|
76
|
+
return Constants::NTRY_TO_SYM[choice]
|
77
|
+
elsif choice != Constants::VALID_ENTRIES
|
78
|
+
puts ColorizedString["That entry is invalid. Please re-enter"].colorize(:green)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
def player_outcome(plays)
|
83
|
+
return :WIN if Constants::WINNERS.include?(plays)
|
84
|
+
return :LOSE if Constants::LOSERS.include?(plays)
|
85
|
+
return :TIE if !:WIN | !:LOSE
|
86
|
+
end
|
87
|
+
def final_outcome(pl, co)
|
88
|
+
return :WIN if pl > co
|
89
|
+
return :LOSE if pl < co
|
90
|
+
return :TIE if pl = co
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
RakeTest.new.testPlay(2) # best of 3
|
97
|
+
|
metadata
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: PlayRo2kPaperScissorsGame
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- bag3318
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMREwDwYDVQQDDAhiZ2xh
|
14
|
+
dG1hbjEXMBUGCgmSJomT8ixkARkWB291dGxvb2sxEzARBgoJkiaJk/IsZAEZFgNj
|
15
|
+
b20wHhcNMTcwNDAyMDEyOTQwWhcNMTgwNDAyMDEyOTQwWjBBMREwDwYDVQQDDAhi
|
16
|
+
Z2xhdG1hbjEXMBUGCgmSJomT8ixkARkWB291dGxvb2sxEzARBgoJkiaJk/IsZAEZ
|
17
|
+
FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCobCcJo3TCvHRH
|
18
|
+
2AoBeTsbqbBq520yXYGvRvqdswtk9t2cg5hTuidnAJiNJZbNeuOZl3CvZOJ0U+tw
|
19
|
+
E2oTD+8tGiAE8Ho8Umki1zUIgW8g8+ilU2qeitC0/7Xh4rPwyOtdGr5xjEOtj64l
|
20
|
+
e2E6WHQQg6hmmk55ctVZSrHVMzqARsV6TTZ6/zoSE1dzryT37OFMb7/EBhOYOb3s
|
21
|
+
lTaWY+jkNKBgWXdsr2oxIePkiXwJFkifLR/uUr56sXIImuF1nBlRvuGbXxuKvkly
|
22
|
+
Qh6gsRdxtH7umkUHpmac4FTGqEWRitqJ7zTwEz4vshjxzJvno1J8D1+qePPk3vGo
|
23
|
+
qMoi8q3TAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
+
BBRv+mG+p3ADhNgDHyv6stgPd1h4wTAfBgNVHREEGDAWgRRiZ2xhdG1hbkBvdXRs
|
25
|
+
b29rLmNvbTAfBgNVHRIEGDAWgRRiZ2xhdG1hbkBvdXRsb29rLmNvbTANBgkqhkiG
|
26
|
+
9w0BAQUFAAOCAQEAo25ZtSEJTez3RKoRItilWNzRDZYpPp6spZ6Bufs3KvL20RwN
|
27
|
+
eb8NLJ4G3fCU9Drr1g7GHBHHNBXXxCezXZDjDswUBZipU8QCvAQVZvbekFweJFWE
|
28
|
+
U+vgOznS1S0ZrPxUvhLaTiUlglZMctFtH6dkKyLKw6V/pz59KYxSynhkhhTt8b+R
|
29
|
+
Sc46qCgDGIB20M+iZ9E4jqsnfPywKcp022Lh7dK4NDUccQPHeb/LCJC/3OBotZhL
|
30
|
+
ft+uhriUZSVDBJRLSlrQEH2f0866a9dA4oUmvvFU46Mh6pozDjOcLJIp/tCnbVOc
|
31
|
+
HSdXPrjfOoDbhBPH/4wUd5P0rDoNKN1hxH4SzA==
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2017-04-02 00:00:00.000000000 Z
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: bundler
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 1.14.6
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.14.6
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: colorize
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.8.1
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.8.1
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rake
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 12.0.0
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 12.0.0
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: rvm
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.11.3.9
|
84
|
+
type: :runtime
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 1.11.3.9
|
91
|
+
description: " A Ruby-programmed rock paper scissors game. \n To install: gem
|
92
|
+
install PlayRockPaperScissorsGame;\n To run: rps; or: PlayRockPaperScissorsGame;
|
93
|
+
\n For issues: https://github.com/bag3318/RockPaperScissors/issues\n"
|
94
|
+
email:
|
95
|
+
executables:
|
96
|
+
- rps
|
97
|
+
- PlayRockPaperScissorsGame
|
98
|
+
extensions: []
|
99
|
+
extra_rdoc_files:
|
100
|
+
- README.md
|
101
|
+
files:
|
102
|
+
- ".gitignore"
|
103
|
+
- Gemfile
|
104
|
+
- LICENSE
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- bin/PlayRockPaperScissorsGame
|
108
|
+
- bin/rps
|
109
|
+
- certs/gem-public_cert.pem
|
110
|
+
- docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/jekyll-theme-cayman.scssc
|
111
|
+
- docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/normalize.scssc
|
112
|
+
- docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/rouge-github.scssc
|
113
|
+
- docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/variables.scssc
|
114
|
+
- docs/CODE_OF_CONDUCT.md
|
115
|
+
- docs/CONTRIBUTING.md
|
116
|
+
- docs/Gemfile
|
117
|
+
- docs/LICENSE
|
118
|
+
- docs/Testing.md
|
119
|
+
- docs/_config.yml
|
120
|
+
- docs/_layouts/default.html
|
121
|
+
- docs/_sass/jekyll-theme-cayman.scss
|
122
|
+
- docs/_sass/normalize.scss
|
123
|
+
- docs/_sass/rouge-github.scss
|
124
|
+
- docs/_sass/variables.scss
|
125
|
+
- docs/_site/CODE_OF_CONDUCT.html
|
126
|
+
- docs/_site/CONTRIBUTING.html
|
127
|
+
- docs/_site/Testing.html
|
128
|
+
- docs/_site/assets/css/style.css
|
129
|
+
- docs/_site/index.html
|
130
|
+
- docs/_site/script/bootstrap
|
131
|
+
- docs/_site/script/cibuild
|
132
|
+
- docs/_site/script/release
|
133
|
+
- docs/_site/script/server
|
134
|
+
- docs/assets/css/style.scss
|
135
|
+
- docs/index.md
|
136
|
+
- docs/jekyll-theme-cayman.gemspec
|
137
|
+
- docs/script/bootstrap
|
138
|
+
- docs/script/cibuild
|
139
|
+
- docs/script/release
|
140
|
+
- docs/script/server
|
141
|
+
- docs/thumbnail.png
|
142
|
+
- exec/rps.bash
|
143
|
+
- exec/run.bat
|
144
|
+
- exec/uninstall.sh
|
145
|
+
- lib/ref/Constants.rb
|
146
|
+
- lib/ref/PrivateMethods.rb
|
147
|
+
- lib/rps.rb
|
148
|
+
- lib/rps/version.rb
|
149
|
+
- rps.gemspec
|
150
|
+
- test/test_rps.rb
|
151
|
+
homepage: https://bag3318.github.io/RockPaperScissors/
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
metadata:
|
155
|
+
issue_tracker: https://github.com/bag3318/RockPaperScissors/issues
|
156
|
+
source_code: https://github.com/bag3318/RockPaperScissors
|
157
|
+
releases: https://github.com/bag3318/RockPaperScissors/releases
|
158
|
+
post_install_message: Thanks for installing! I hope you have fun playing rock paper
|
159
|
+
scissors! :)
|
160
|
+
rdoc_options: []
|
161
|
+
require_paths:
|
162
|
+
- lib
|
163
|
+
- lib/ref
|
164
|
+
- lib/rps
|
165
|
+
- test
|
166
|
+
- exec
|
167
|
+
- bin
|
168
|
+
- docs
|
169
|
+
- certs
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 2.0.0
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: 2.6.0
|
180
|
+
requirements:
|
181
|
+
- A Windows or Mac computer.
|
182
|
+
rubyforge_project:
|
183
|
+
rubygems_version: 2.6.11
|
184
|
+
signing_key:
|
185
|
+
specification_version: 4
|
186
|
+
summary: A Rock Paper Scissors Ruby Gem
|
187
|
+
test_files:
|
188
|
+
- test/test_rps.rb
|