PlayRockPaperScissorsGame 2.5.7 → 2.5.8
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 +4 -4
- checksums.yaml.gz.sig +2 -2
- data.tar.gz.sig +0 -0
- data/docs/Code.md +1 -1
- data/docs/Comparing_Code.md +1 -1
- data/docs/_site/CODE_OF_CONDUCT.html +1 -1
- data/docs/_site/CONTRIBUTING.html +1 -1
- data/docs/_site/Code.html +2 -2
- data/docs/_site/Comparing_Code.html +2 -2
- data/docs/_site/How_to_Build.html +1 -1
- data/docs/_site/Testing.html +1 -1
- data/docs/_site/about.html +86 -0
- data/docs/_site/index.html +1 -1
- data/docs/about.md +31 -0
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +2 -2
- metadata +4 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1166c5e11994f5a43ab629811cb4e83d8c0b006
|
|
4
|
+
data.tar.gz: bb55b4bb6c94341869bc9bf583e9081d9f463354
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 818a683c8297ad8fc9f4a721db63e8e7fba392f9b03c9c9bb959f38c507f3711a3062766ae9065421d1e7b86d8ec5819e01fa632e5ee5258510c557b84ea2f3f
|
|
7
|
+
data.tar.gz: 96f46c0417c32b5ae0c43a0cff1e81a9270686220d06d564e955eef5759eafb3fcd49bdb444b36bb1b0ae5d66d890cf4c33b028b873aa92fb2f16dc7f727813b
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
#uCP�O�D���d&����S�#I֤Nbbi]�;��>�ƯćC�t8,=��m��wP^�{gF��b���67K��J�CX�q��Ѓ2��F��i�~EHxb����͌��A���N�X��"���|�Y��8L��#���̳5�
|
|
2
|
+
�K��UC0u)�N&�&U�!��X$�i<N�z��T툏�
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/docs/Code.md
CHANGED
data/docs/Comparing_Code.md
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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
|
@@ -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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
|
59
59
|
|
|
60
60
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
|
61
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.
|
|
61
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.8"</span>
|
|
62
62
|
<span class="k">end</span>
|
|
63
63
|
|
|
64
64
|
<span class="c1"># call the colorize gem</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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
<div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span>
|
|
140
140
|
|
|
141
141
|
<span class="k">module</span> <span class="nn">RockPaperScissors</span>
|
|
142
|
-
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.
|
|
142
|
+
<span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.5.8"</span>
|
|
143
143
|
<span class="k">end</span>
|
|
144
144
|
|
|
145
145
|
<span class="c1"># import colorize gem</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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
data/docs/_site/Testing.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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>About - Play Rock Paper Scissors Game</title>
|
|
6
|
+
<meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<meta name="theme-color" content="#157878">
|
|
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=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
|
+
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
|
+
<script src="assets/js/pace.min.js"></script>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
|
|
16
|
+
<section class="page-header">
|
|
17
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
|
18
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
|
19
|
+
|
|
20
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/issues" class="btn">Report a Bug</a>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
|
25
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
|
26
|
+
|
|
27
|
+
<br/>
|
|
28
|
+
|
|
29
|
+
<a href="#site-nav" class="btn">Site Nav</a>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<a href="./" class="btn">Home</a>
|
|
33
|
+
|
|
34
|
+
</section>
|
|
35
|
+
|
|
36
|
+
<section class="main-content">
|
|
37
|
+
|
|
38
|
+
<h1 id="about-playrockpaperscissorsgame-rps">About PlayRockPaperScissorsGame (RPS)</h1>
|
|
39
|
+
|
|
40
|
+
<p>The RPS<sup>1</sup> game has been around for many years. In fact, it originally was from Asia.
|
|
41
|
+
I have decided to code a Ruby-programmed RPS game that uses full CLI<sup>2</sup> (command line interface).</p>
|
|
42
|
+
|
|
43
|
+
<h2 id="why-use-ruby">Why use Ruby?</h2>
|
|
44
|
+
|
|
45
|
+
<p>Ruby is a programming language that has been around for a little over 2 decades. The gem-attributed language was primarily developed by <em>Yukihiro “Matz” Matsumoto</em> in Japan. Ruby stood out to me because of it’s unique code structure design. I decided to use Ruby becuase I wanted to learn an <strong>object oriented programming language</strong>. Ruby appealed to me by its unique code structure.</p>
|
|
46
|
+
|
|
47
|
+
<h2 id="the-code">The Code</h2>
|
|
48
|
+
|
|
49
|
+
<p>I didn’t want to make code that just yielded a bunch of <code class="highlighter-rouge">if</code>, <code class="highlighter-rouge">elsif</code>, and <code class="highlighter-rouge">else</code> statements. Instead, I strived toward a more professionally structured and modularized code. See the <a href="Comparing_Code">comparing code</a> page for more information about this subject matter.</p>
|
|
50
|
+
|
|
51
|
+
<hr />
|
|
52
|
+
|
|
53
|
+
<blockquote>
|
|
54
|
+
<p><strong>1.</strong> RPS = rock-paper-scissors</p>
|
|
55
|
+
|
|
56
|
+
<p><strong>2.</strong> CLI means that it is executed in a command line app, such as CMD (command prompt) for Windows, or Terminal for Mac.</p>
|
|
57
|
+
</blockquote>
|
|
58
|
+
|
|
59
|
+
<hr />
|
|
60
|
+
|
|
61
|
+
<h2 id="site-nav">Site Nav</h2>
|
|
62
|
+
|
|
63
|
+
<table>
|
|
64
|
+
<tbody>
|
|
65
|
+
<tr>
|
|
66
|
+
<td><a href="./">Home</a></td>
|
|
67
|
+
<td><a href="Testing">How to Test</a></td>
|
|
68
|
+
<td><a href="Comparing_Code">Comparing Code</a></td>
|
|
69
|
+
<td><a href="How_to_Build">How to Build</a></td>
|
|
70
|
+
<td><a href="Code">Master Code</a></td>
|
|
71
|
+
</tr>
|
|
72
|
+
</tbody>
|
|
73
|
+
</table>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
<footer class="site-footer">
|
|
78
|
+
|
|
79
|
+
<span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
|
|
80
|
+
|
|
81
|
+
</footer>
|
|
82
|
+
</section>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
</body>
|
|
86
|
+
</html>
|
data/docs/_site/index.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=
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=244a9112a3673845c3cb34d9daf0788fad5c82b0">
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pace.css" />
|
|
12
12
|
<script src="assets/js/pace.min.js"></script>
|
|
13
13
|
</head>
|
data/docs/about.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
title: About - Play Rock Paper Scissors Game
|
|
4
|
+
permalink: /about.html
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# About PlayRockPaperScissorsGame (RPS)
|
|
8
|
+
|
|
9
|
+
The RPS<sup>1</sup> game has been around for many years. In fact, it originally was from Asia.
|
|
10
|
+
I have decided to code a Ruby-programmed RPS game that uses full CLI<sup>2</sup> (command line interface).
|
|
11
|
+
|
|
12
|
+
## Why use Ruby?
|
|
13
|
+
|
|
14
|
+
Ruby is a programming language that has been around for a little over 2 decades. The gem-attributed language was primarily developed by *Yukihiro "Matz" Matsumoto* in Japan. Ruby stood out to me because of it's unique code structure design. I decided to use Ruby becuase I wanted to learn an **object oriented programming language**. Ruby appealed to me by its unique code structure.
|
|
15
|
+
|
|
16
|
+
## The Code
|
|
17
|
+
|
|
18
|
+
I didn't want to make code that just yielded a bunch of `if`, `elsif`, and `else` statements. Instead, I strived toward a more professionally structured and modularized code. See the [comparing code](Comparing_Code) page for more information about this subject matter.
|
|
19
|
+
|
|
20
|
+
________
|
|
21
|
+
|
|
22
|
+
> **1.** RPS = rock-paper-scissors
|
|
23
|
+
>
|
|
24
|
+
> **2.** CLI means that it is executed in a command line app, such as CMD (command prompt) for Windows, or Terminal for Mac.
|
|
25
|
+
|
|
26
|
+
________
|
|
27
|
+
|
|
28
|
+
## Site Nav
|
|
29
|
+
|
|
30
|
+
[Home](./) | [How to Test](Testing) | [Comparing Code](Comparing_Code) | [How to Build](How_to_Build) | [Master Code](Code)
|
|
31
|
+
|
data/lib/rps/version.rb
CHANGED
data/rps.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "PlayRockPaperScissorsGame"
|
|
3
|
-
spec.version = "2.5.
|
|
4
|
-
spec.date = "2017-05-
|
|
3
|
+
spec.version = "2.5.8"
|
|
4
|
+
spec.date = "2017-05-03"
|
|
5
5
|
spec.summary = "A Rock Paper Scissors Ruby Gem"
|
|
6
6
|
spec.description = <<-EOF
|
|
7
7
|
A Ruby-programmed rock paper scissors game.
|
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.5.
|
|
4
|
+
version: 2.5.8
|
|
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-
|
|
33
|
+
date: 2017-05-03 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: bundler
|
|
@@ -141,6 +141,7 @@ files:
|
|
|
141
141
|
- docs/_site/Comparing_Code.html
|
|
142
142
|
- docs/_site/How_to_Build.html
|
|
143
143
|
- docs/_site/Testing.html
|
|
144
|
+
- docs/_site/about.html
|
|
144
145
|
- docs/_site/assets/css/pace.css
|
|
145
146
|
- docs/_site/assets/css/style.css
|
|
146
147
|
- docs/_site/assets/js/pace.min.js
|
|
@@ -149,6 +150,7 @@ files:
|
|
|
149
150
|
- docs/_site/script/cibuild
|
|
150
151
|
- docs/_site/script/release
|
|
151
152
|
- docs/_site/script/server
|
|
153
|
+
- docs/about.md
|
|
152
154
|
- docs/assets/css/pace.css
|
|
153
155
|
- docs/assets/css/style.scss
|
|
154
156
|
- docs/assets/js/pace.min.js
|
metadata.gz.sig
CHANGED
|
Binary file
|