PlayRockPaperScissorsGame 1.9.4 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.gitignore +2 -2
- 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/_site/CODE_OF_CONDUCT.html +117 -0
- data/docs/_site/CONTRIBUTING.html +74 -0
- data/docs/_site/Gemfile +4 -0
- data/docs/_site/LICENSE +116 -0
- data/docs/_site/assets/css/style.css +318 -0
- data/docs/_site/index.html +112 -0
- data/docs/_site/index.md +47 -0
- data/docs/_site/jekyll-theme-cayman.gemspec +18 -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/_site/thumbnail.png +0 -0
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +18 -1
- 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: c9c951478d0b4916daea36dbfb27413bb1657d5a
|
4
|
+
data.tar.gz: 6a59bd9e59edb5597f1900632d7a40a4bf09a687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2a84138303b74532ec95c19166e27e8de21bb9d36ede1d2445272c854ce3598f789253c07e6f60430e6c1daa95975b403d12e0a5c24b5ed6abf261de2c1c294
|
7
|
+
data.tar.gz: 9a70764165fa66880616a4a0349887fd68749b785cb7dfc870890bee32a22618f9279bef63803f89cf269e762c40a9aa10b25ee7a8fc8f79b5b1b17b808f0be9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.gitignore
CHANGED
Binary file
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>Contributor Covenant Code of Conduct</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=cb3f7f6f88d9139c4e4471a65d68f1dce95c26cc">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
15
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
16
|
+
|
17
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
18
|
+
|
19
|
+
|
20
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
22
|
+
|
23
|
+
</section>
|
24
|
+
|
25
|
+
<section class="main-content">
|
26
|
+
<h1 id="contributor-covenant-code-of-conduct">Contributor Covenant Code of Conduct</h1>
|
27
|
+
|
28
|
+
<h2 id="our-pledge">Our Pledge</h2>
|
29
|
+
|
30
|
+
<p>In the interest of fostering an open and welcoming environment, we as
|
31
|
+
contributors and maintainers pledge to making participation in our project and
|
32
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
33
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
34
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
35
|
+
orientation.</p>
|
36
|
+
|
37
|
+
<h2 id="our-standards">Our Standards</h2>
|
38
|
+
|
39
|
+
<p>Examples of behavior that contributes to creating a positive environment
|
40
|
+
include:</p>
|
41
|
+
|
42
|
+
<ul>
|
43
|
+
<li>Using welcoming and inclusive language</li>
|
44
|
+
<li>Being respectful of differing viewpoints and experiences</li>
|
45
|
+
<li>Gracefully accepting constructive criticism</li>
|
46
|
+
<li>Focusing on what is best for the community</li>
|
47
|
+
<li>Showing empathy towards other community members</li>
|
48
|
+
</ul>
|
49
|
+
|
50
|
+
<p>Examples of unacceptable behavior by participants include:</p>
|
51
|
+
|
52
|
+
<ul>
|
53
|
+
<li>The use of sexualized language or imagery and unwelcome sexual attention or
|
54
|
+
advances</li>
|
55
|
+
<li>Trolling, insulting/derogatory comments, and personal or political attacks</li>
|
56
|
+
<li>Public or private harassment</li>
|
57
|
+
<li>Publishing others’ private information, such as a physical or electronic
|
58
|
+
address, without explicit permission</li>
|
59
|
+
<li>Other conduct which could reasonably be considered inappropriate in a
|
60
|
+
professional setting</li>
|
61
|
+
</ul>
|
62
|
+
|
63
|
+
<h2 id="our-responsibilities">Our Responsibilities</h2>
|
64
|
+
|
65
|
+
<p>Project maintainers are responsible for clarifying the standards of acceptable
|
66
|
+
behavior and are expected to take appropriate and fair corrective action in
|
67
|
+
response to any instances of unacceptable behavior.</p>
|
68
|
+
|
69
|
+
<p>Project maintainers have the right and responsibility to remove, edit, or
|
70
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
71
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
72
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
73
|
+
threatening, offensive, or harmful.</p>
|
74
|
+
|
75
|
+
<h2 id="scope">Scope</h2>
|
76
|
+
|
77
|
+
<p>This Code of Conduct applies both within project spaces and in public spaces
|
78
|
+
when an individual is representing the project or its community. Examples of
|
79
|
+
representing a project or community include using an official project e-mail
|
80
|
+
address, posting via an official social media account, or acting as an appointed
|
81
|
+
representative at an online or offline event. Representation of a project may be
|
82
|
+
further defined and clarified by project maintainers.</p>
|
83
|
+
|
84
|
+
<h2 id="enforcement">Enforcement</h2>
|
85
|
+
|
86
|
+
<p>Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
87
|
+
reported by contacting the project team at https://github.com/contact/report-abuse. All
|
88
|
+
complaints will be reviewed and investigated and will result in a response that
|
89
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
90
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
91
|
+
Further details of specific enforcement policies may be posted separately.</p>
|
92
|
+
|
93
|
+
<p>Project maintainers who do not follow or enforce the Code of Conduct in good
|
94
|
+
faith may face temporary or permanent repercussions as determined by other
|
95
|
+
members of the project’s leadership.</p>
|
96
|
+
|
97
|
+
<h2 id="attribution">Attribution</h2>
|
98
|
+
|
99
|
+
<p>This Code of Conduct is adapted from the <a href="http://contributor-covenant.org">Contributor Covenant</a>, version 1.4,
|
100
|
+
available at <a href="http://contributor-covenant.org/version/1/4/">http://contributor-covenant.org/version/1/4</a></p>
|
101
|
+
|
102
|
+
<hr />
|
103
|
+
|
104
|
+
<p><a href="./">Home</a></p>
|
105
|
+
|
106
|
+
|
107
|
+
<footer class="site-footer">
|
108
|
+
|
109
|
+
<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>
|
110
|
+
|
111
|
+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
|
112
|
+
</footer>
|
113
|
+
</section>
|
114
|
+
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>Contributing</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=cb3f7f6f88d9139c4e4471a65d68f1dce95c26cc">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
15
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
16
|
+
|
17
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
18
|
+
|
19
|
+
|
20
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
22
|
+
|
23
|
+
</section>
|
24
|
+
|
25
|
+
<section class="main-content">
|
26
|
+
<h2 id="contributing">Contributing</h2>
|
27
|
+
|
28
|
+
<p>Hi there! We’re thrilled that you’d like to contribute to this project. Your help is essential for keeping it great.</p>
|
29
|
+
|
30
|
+
<p>Please note that this project is released with a <a href="/CODE_OF_CONDUCT.md">Contributor Code of Conduct</a>. By participating in this project you agree to abide by its terms.</p>
|
31
|
+
|
32
|
+
<h2 id="submitting-a-pull-request">Submitting a pull request</h2>
|
33
|
+
|
34
|
+
<ol>
|
35
|
+
<li><a href="https://github.com/pages-themes/cayman/fork">Fork</a> and clone the repository</li>
|
36
|
+
<li>Configure and install the dependencies: <code class="highlighter-rouge">script/bootstrap</code></li>
|
37
|
+
<li>Make sure the tests pass on your machine: <code class="highlighter-rouge">script/cibuild</code></li>
|
38
|
+
<li>Create a new branch: <code class="highlighter-rouge">git checkout -b my-branch-name</code></li>
|
39
|
+
<li>Make your change, add tests, and make sure the tests still pass</li>
|
40
|
+
<li>Push to your fork and <a href="https://github.com/pages-themes/cayman/compare">submit a pull request</a></li>
|
41
|
+
<li>Pat your self on the back and wait for your pull request to be reviewed and merged.</li>
|
42
|
+
</ol>
|
43
|
+
|
44
|
+
<p>Here are a few things you can do that will increase the likelihood of your pull request being accepted:</p>
|
45
|
+
|
46
|
+
<ul>
|
47
|
+
<li>Follow the <a href="http://ben.balter.com/jekyll-style-guide/">style guide</a>.</li>
|
48
|
+
<li>Write tests.</li>
|
49
|
+
<li>Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.</li>
|
50
|
+
<li>Write a <a href="http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">good commit message</a>.</li>
|
51
|
+
</ul>
|
52
|
+
|
53
|
+
<h2 id="resources">Resources</h2>
|
54
|
+
|
55
|
+
<ul>
|
56
|
+
<li><a href="https://guides.github.com/activities/contributing-to-open-source/">Contributing to Open Source on GitHub</a></li>
|
57
|
+
<li><a href="https://help.github.com/articles/using-pull-requests/">Using Pull Requests</a></li>
|
58
|
+
<li><a href="https://help.github.com">GitHub Help</a></li>
|
59
|
+
</ul>
|
60
|
+
|
61
|
+
<p><a href="./">Home</a></p>
|
62
|
+
|
63
|
+
|
64
|
+
<footer class="site-footer">
|
65
|
+
|
66
|
+
<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>
|
67
|
+
|
68
|
+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
|
69
|
+
</footer>
|
70
|
+
</section>
|
71
|
+
|
72
|
+
|
73
|
+
</body>
|
74
|
+
</html>
|
data/docs/_site/Gemfile
ADDED
data/docs/_site/LICENSE
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
CC0 1.0 Universal
|
2
|
+
|
3
|
+
Statement of Purpose
|
4
|
+
|
5
|
+
The laws of most jurisdictions throughout the world automatically confer
|
6
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
7
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
8
|
+
authorship and/or a database (each, a "Work").
|
9
|
+
|
10
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
11
|
+
purpose of contributing to a commons of creative, cultural and scientific
|
12
|
+
works ("Commons") that the public can reliably and without fear of later
|
13
|
+
claims of infringement build upon, modify, incorporate in other works, reuse
|
14
|
+
and redistribute as freely as possible in any form whatsoever and for any
|
15
|
+
purposes, including without limitation commercial purposes. These owners may
|
16
|
+
contribute to the Commons to promote the ideal of a free culture and the
|
17
|
+
further production of creative, cultural and scientific works, or to gain
|
18
|
+
reputation or greater distribution for their Work in part through the use and
|
19
|
+
efforts of others.
|
20
|
+
|
21
|
+
For these and/or other purposes and motivations, and without any expectation
|
22
|
+
of additional consideration or compensation, the person associating CC0 with a
|
23
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
24
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
25
|
+
and publicly distribute the Work under its terms, with knowledge of his or her
|
26
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
27
|
+
effect of CC0 on those rights.
|
28
|
+
|
29
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
30
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
31
|
+
Related Rights"). Copyright and Related Rights include, but are not limited
|
32
|
+
to, the following:
|
33
|
+
|
34
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
35
|
+
and translate a Work;
|
36
|
+
|
37
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
38
|
+
|
39
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
40
|
+
depicted in a Work;
|
41
|
+
|
42
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
43
|
+
subject to the limitations in paragraph 4(a), below;
|
44
|
+
|
45
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in
|
46
|
+
a Work;
|
47
|
+
|
48
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
49
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
50
|
+
protection of databases, and under any national implementation thereof,
|
51
|
+
including any amended or successor version of such directive); and
|
52
|
+
|
53
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
54
|
+
based on applicable law or treaty, and any national implementations thereof.
|
55
|
+
|
56
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
57
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
58
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
59
|
+
and Related Rights and associated claims and causes of action, whether now
|
60
|
+
known or unknown (including existing as well as future claims and causes of
|
61
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
62
|
+
duration provided by applicable law or treaty (including future time
|
63
|
+
extensions), (iii) in any current or future medium and for any number of
|
64
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
65
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
66
|
+
the Waiver for the benefit of each member of the public at large and to the
|
67
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
68
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
69
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
70
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
71
|
+
|
72
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
73
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
74
|
+
shall be preserved to the maximum extent permitted taking into account
|
75
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
76
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
77
|
+
non transferable, non sublicensable, non exclusive, irrevocable and
|
78
|
+
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
79
|
+
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
80
|
+
provided by applicable law or treaty (including future time extensions), (iii)
|
81
|
+
in any current or future medium and for any number of copies, and (iv) for any
|
82
|
+
purpose whatsoever, including without limitation commercial, advertising or
|
83
|
+
promotional purposes (the "License"). The License shall be deemed effective as
|
84
|
+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
85
|
+
License for any reason be judged legally invalid or ineffective under
|
86
|
+
applicable law, such partial invalidity or ineffectiveness shall not
|
87
|
+
invalidate the remainder of the License, and in such case Affirmer hereby
|
88
|
+
affirms that he or she will not (i) exercise any of his or her remaining
|
89
|
+
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
90
|
+
and causes of action with respect to the Work, in either case contrary to
|
91
|
+
Affirmer's express Statement of Purpose.
|
92
|
+
|
93
|
+
4. Limitations and Disclaimers.
|
94
|
+
|
95
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
96
|
+
surrendered, licensed or otherwise affected by this document.
|
97
|
+
|
98
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
99
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
100
|
+
including without limitation warranties of title, merchantability, fitness
|
101
|
+
for a particular purpose, non infringement, or the absence of latent or
|
102
|
+
other defects, accuracy, or the present or absence of errors, whether or not
|
103
|
+
discoverable, all to the greatest extent permissible under applicable law.
|
104
|
+
|
105
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
106
|
+
that may apply to the Work or any use thereof, including without limitation
|
107
|
+
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
108
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
109
|
+
or other rights required for any use of the Work.
|
110
|
+
|
111
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
112
|
+
party to this document and has no duty or obligation with respect to this
|
113
|
+
CC0 or use of the Work.
|
114
|
+
|
115
|
+
For more information, please see
|
116
|
+
<http://creativecommons.org/publicdomain/zero/1.0/>
|
@@ -0,0 +1,318 @@
|
|
1
|
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
2
|
+
/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
|
3
|
+
html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }
|
4
|
+
|
5
|
+
/** Remove default margin. */
|
6
|
+
body { margin: 0; }
|
7
|
+
|
8
|
+
/* HTML5 display definitions ========================================================================== */
|
9
|
+
/** Correct `block` display not defined for any HTML5 element in IE 8/9. Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. Correct `block` display not defined for `main` in IE 11. */
|
10
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
|
11
|
+
|
12
|
+
/** 1. Correct `inline-block` display not defined in IE 8/9. 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */
|
13
|
+
audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ }
|
14
|
+
|
15
|
+
/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
|
16
|
+
audio:not([controls]) { display: none; height: 0; }
|
17
|
+
|
18
|
+
/** Address `[hidden]` styling not present in IE 8/9/10. Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */
|
19
|
+
[hidden], template { display: none; }
|
20
|
+
|
21
|
+
/* Links ========================================================================== */
|
22
|
+
/** Remove the gray background color from active links in IE 10. */
|
23
|
+
a { background-color: transparent; }
|
24
|
+
|
25
|
+
/** Improve readability when focused and also mouse hovered in all browsers. */
|
26
|
+
a:active, a:hover { outline: 0; }
|
27
|
+
|
28
|
+
/* Text-level semantics ========================================================================== */
|
29
|
+
/** Address styling not present in IE 8/9/10/11, Safari, and Chrome. */
|
30
|
+
abbr[title] { border-bottom: 1px dotted; }
|
31
|
+
|
32
|
+
/** Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */
|
33
|
+
b, strong { font-weight: bold; }
|
34
|
+
|
35
|
+
/** Address styling not present in Safari and Chrome. */
|
36
|
+
dfn { font-style: italic; }
|
37
|
+
|
38
|
+
/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari, and Chrome. */
|
39
|
+
h1 { font-size: 2em; margin: 0.67em 0; }
|
40
|
+
|
41
|
+
/** Address styling not present in IE 8/9. */
|
42
|
+
mark { background: #ff0; color: #000; }
|
43
|
+
|
44
|
+
/** Address inconsistent and variable font size in all browsers. */
|
45
|
+
small { font-size: 80%; }
|
46
|
+
|
47
|
+
/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
|
48
|
+
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
49
|
+
|
50
|
+
sup { top: -0.5em; }
|
51
|
+
|
52
|
+
sub { bottom: -0.25em; }
|
53
|
+
|
54
|
+
/* Embedded content ========================================================================== */
|
55
|
+
/** Remove border when inside `a` element in IE 8/9/10. */
|
56
|
+
img { border: 0; }
|
57
|
+
|
58
|
+
/** Correct overflow not hidden in IE 9/10/11. */
|
59
|
+
svg:not(:root) { overflow: hidden; }
|
60
|
+
|
61
|
+
/* Grouping content ========================================================================== */
|
62
|
+
/** Address margin not present in IE 8/9 and Safari. */
|
63
|
+
figure { margin: 1em 40px; }
|
64
|
+
|
65
|
+
/** Address differences between Firefox and other browsers. */
|
66
|
+
hr { box-sizing: content-box; height: 0; }
|
67
|
+
|
68
|
+
/** Contain overflow in all browsers. */
|
69
|
+
pre { overflow: auto; }
|
70
|
+
|
71
|
+
/** Address odd `em`-unit font size rendering in all browsers. */
|
72
|
+
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
|
73
|
+
|
74
|
+
/* Forms ========================================================================== */
|
75
|
+
/** Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set. */
|
76
|
+
/** 1. Correct color not being inherited. Known issue: affects color of disabled elements. 2. Correct font properties not being inherited. 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */
|
77
|
+
button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ }
|
78
|
+
|
79
|
+
/** Address `overflow` set to `hidden` in IE 8/9/10/11. */
|
80
|
+
button { overflow: visible; }
|
81
|
+
|
82
|
+
/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. Correct `select` style inheritance in Firefox. */
|
83
|
+
button, select { text-transform: none; }
|
84
|
+
|
85
|
+
/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
|
86
|
+
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }
|
87
|
+
|
88
|
+
/** Re-set default cursor for disabled elements. */
|
89
|
+
button[disabled], html input[disabled] { cursor: default; }
|
90
|
+
|
91
|
+
/** Remove inner padding and border in Firefox 4+. */
|
92
|
+
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
93
|
+
|
94
|
+
/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
|
95
|
+
input { line-height: normal; }
|
96
|
+
|
97
|
+
/** It's recommended that you don't attempt to style these elements. Firefox's implementation doesn't respect box-sizing, padding, or width. 1. Address box sizing set to `content-box` in IE 8/9/10. 2. Remove excess padding in IE 8/9/10. */
|
98
|
+
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }
|
99
|
+
|
100
|
+
/** Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. */
|
101
|
+
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; }
|
102
|
+
|
103
|
+
/** 1. Address `appearance` set to `searchfield` in Safari and Chrome. 2. Address `box-sizing` set to `border-box` in Safari and Chrome (include `-moz` to future-proof). */
|
104
|
+
input[type="search"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; }
|
105
|
+
|
106
|
+
/** Remove inner padding and search cancel button in Safari and Chrome on OS X. Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance). */
|
107
|
+
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
108
|
+
|
109
|
+
/** Define consistent border, margin, and padding. */
|
110
|
+
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
|
111
|
+
|
112
|
+
/** 1. Correct `color` not being inherited in IE 8/9/10/11. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
|
113
|
+
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }
|
114
|
+
|
115
|
+
/** Remove default vertical scrollbar in IE 8/9/10/11. */
|
116
|
+
textarea { overflow: auto; }
|
117
|
+
|
118
|
+
/** Don't inherit the `font-weight` (applied by a rule above). NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */
|
119
|
+
optgroup { font-weight: bold; }
|
120
|
+
|
121
|
+
/* Tables ========================================================================== */
|
122
|
+
/** Remove most spacing between table cells. */
|
123
|
+
table { border-collapse: collapse; border-spacing: 0; }
|
124
|
+
|
125
|
+
td, th { padding: 0; }
|
126
|
+
|
127
|
+
.highlight table td { padding: 5px; }
|
128
|
+
|
129
|
+
.highlight table pre { margin: 0; }
|
130
|
+
|
131
|
+
.highlight .cm { color: #999988; font-style: italic; }
|
132
|
+
|
133
|
+
.highlight .cp { color: #999999; font-weight: bold; }
|
134
|
+
|
135
|
+
.highlight .c1 { color: #999988; font-style: italic; }
|
136
|
+
|
137
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic; }
|
138
|
+
|
139
|
+
.highlight .c, .highlight .cd { color: #999988; font-style: italic; }
|
140
|
+
|
141
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2; }
|
142
|
+
|
143
|
+
.highlight .gd { color: #000000; background-color: #ffdddd; }
|
144
|
+
|
145
|
+
.highlight .ge { color: #000000; font-style: italic; }
|
146
|
+
|
147
|
+
.highlight .gr { color: #aa0000; }
|
148
|
+
|
149
|
+
.highlight .gh { color: #999999; }
|
150
|
+
|
151
|
+
.highlight .gi { color: #000000; background-color: #ddffdd; }
|
152
|
+
|
153
|
+
.highlight .go { color: #888888; }
|
154
|
+
|
155
|
+
.highlight .gp { color: #555555; }
|
156
|
+
|
157
|
+
.highlight .gs { font-weight: bold; }
|
158
|
+
|
159
|
+
.highlight .gu { color: #aaaaaa; }
|
160
|
+
|
161
|
+
.highlight .gt { color: #aa0000; }
|
162
|
+
|
163
|
+
.highlight .kc { color: #000000; font-weight: bold; }
|
164
|
+
|
165
|
+
.highlight .kd { color: #000000; font-weight: bold; }
|
166
|
+
|
167
|
+
.highlight .kn { color: #000000; font-weight: bold; }
|
168
|
+
|
169
|
+
.highlight .kp { color: #000000; font-weight: bold; }
|
170
|
+
|
171
|
+
.highlight .kr { color: #000000; font-weight: bold; }
|
172
|
+
|
173
|
+
.highlight .kt { color: #445588; font-weight: bold; }
|
174
|
+
|
175
|
+
.highlight .k, .highlight .kv { color: #000000; font-weight: bold; }
|
176
|
+
|
177
|
+
.highlight .mf { color: #009999; }
|
178
|
+
|
179
|
+
.highlight .mh { color: #009999; }
|
180
|
+
|
181
|
+
.highlight .il { color: #009999; }
|
182
|
+
|
183
|
+
.highlight .mi { color: #009999; }
|
184
|
+
|
185
|
+
.highlight .mo { color: #009999; }
|
186
|
+
|
187
|
+
.highlight .m, .highlight .mb, .highlight .mx { color: #009999; }
|
188
|
+
|
189
|
+
.highlight .sb { color: #d14; }
|
190
|
+
|
191
|
+
.highlight .sc { color: #d14; }
|
192
|
+
|
193
|
+
.highlight .sd { color: #d14; }
|
194
|
+
|
195
|
+
.highlight .s2 { color: #d14; }
|
196
|
+
|
197
|
+
.highlight .se { color: #d14; }
|
198
|
+
|
199
|
+
.highlight .sh { color: #d14; }
|
200
|
+
|
201
|
+
.highlight .si { color: #d14; }
|
202
|
+
|
203
|
+
.highlight .sx { color: #d14; }
|
204
|
+
|
205
|
+
.highlight .sr { color: #009926; }
|
206
|
+
|
207
|
+
.highlight .s1 { color: #d14; }
|
208
|
+
|
209
|
+
.highlight .ss { color: #990073; }
|
210
|
+
|
211
|
+
.highlight .s { color: #d14; }
|
212
|
+
|
213
|
+
.highlight .na { color: #008080; }
|
214
|
+
|
215
|
+
.highlight .bp { color: #999999; }
|
216
|
+
|
217
|
+
.highlight .nb { color: #0086B3; }
|
218
|
+
|
219
|
+
.highlight .nc { color: #445588; font-weight: bold; }
|
220
|
+
|
221
|
+
.highlight .no { color: #008080; }
|
222
|
+
|
223
|
+
.highlight .nd { color: #3c5d5d; font-weight: bold; }
|
224
|
+
|
225
|
+
.highlight .ni { color: #800080; }
|
226
|
+
|
227
|
+
.highlight .ne { color: #990000; font-weight: bold; }
|
228
|
+
|
229
|
+
.highlight .nf { color: #990000; font-weight: bold; }
|
230
|
+
|
231
|
+
.highlight .nl { color: #990000; font-weight: bold; }
|
232
|
+
|
233
|
+
.highlight .nn { color: #555555; }
|
234
|
+
|
235
|
+
.highlight .nt { color: #000080; }
|
236
|
+
|
237
|
+
.highlight .vc { color: #008080; }
|
238
|
+
|
239
|
+
.highlight .vg { color: #008080; }
|
240
|
+
|
241
|
+
.highlight .vi { color: #008080; }
|
242
|
+
|
243
|
+
.highlight .nv { color: #008080; }
|
244
|
+
|
245
|
+
.highlight .ow { color: #000000; font-weight: bold; }
|
246
|
+
|
247
|
+
.highlight .o { color: #000000; font-weight: bold; }
|
248
|
+
|
249
|
+
.highlight .w { color: #bbbbbb; }
|
250
|
+
|
251
|
+
.highlight { background-color: #f8f8f8; }
|
252
|
+
|
253
|
+
* { box-sizing: border-box; }
|
254
|
+
|
255
|
+
body { padding: 0; margin: 0; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #606c71; }
|
256
|
+
|
257
|
+
a { color: #1e6bb8; text-decoration: none; }
|
258
|
+
a:hover { text-decoration: underline; }
|
259
|
+
|
260
|
+
.btn { display: inline-block; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.7); background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); border-style: solid; border-width: 1px; border-radius: 0.3rem; transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
|
261
|
+
.btn:hover { color: rgba(255, 255, 255, 0.8); text-decoration: none; background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); }
|
262
|
+
.btn + .btn { margin-left: 1rem; }
|
263
|
+
@media screen and (min-width: 64em) { .btn { padding: 0.75rem 1rem; } }
|
264
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .btn { padding: 0.6rem 0.9rem; font-size: 0.9rem; } }
|
265
|
+
@media screen and (max-width: 42em) { .btn { display: block; width: 100%; padding: 0.75rem; font-size: 0.9rem; }
|
266
|
+
.btn + .btn { margin-top: 1rem; margin-left: 0; } }
|
267
|
+
|
268
|
+
.page-header { color: #fff; text-align: center; background-color: #159957; background-image: linear-gradient(120deg, #155799, #159957); }
|
269
|
+
@media screen and (min-width: 64em) { .page-header { padding: 5rem 6rem; } }
|
270
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .page-header { padding: 3rem 4rem; } }
|
271
|
+
@media screen and (max-width: 42em) { .page-header { padding: 2rem 1rem; } }
|
272
|
+
|
273
|
+
.project-name { margin-top: 0; margin-bottom: 0.1rem; }
|
274
|
+
@media screen and (min-width: 64em) { .project-name { font-size: 3.25rem; } }
|
275
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .project-name { font-size: 2.25rem; } }
|
276
|
+
@media screen and (max-width: 42em) { .project-name { font-size: 1.75rem; } }
|
277
|
+
|
278
|
+
.project-tagline { margin-bottom: 2rem; font-weight: normal; opacity: 0.7; }
|
279
|
+
@media screen and (min-width: 64em) { .project-tagline { font-size: 1.25rem; } }
|
280
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .project-tagline { font-size: 1.15rem; } }
|
281
|
+
@media screen and (max-width: 42em) { .project-tagline { font-size: 1rem; } }
|
282
|
+
|
283
|
+
.main-content { word-wrap: break-word; }
|
284
|
+
.main-content :first-child { margin-top: 0; }
|
285
|
+
@media screen and (min-width: 64em) { .main-content { max-width: 64rem; padding: 2rem 6rem; margin: 0 auto; font-size: 1.1rem; } }
|
286
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .main-content { padding: 2rem 4rem; font-size: 1.1rem; } }
|
287
|
+
@media screen and (max-width: 42em) { .main-content { padding: 2rem 1rem; font-size: 1rem; } }
|
288
|
+
.main-content img { max-width: 100%; }
|
289
|
+
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 { margin-top: 2rem; margin-bottom: 1rem; font-weight: normal; color: #159957; }
|
290
|
+
.main-content p { margin-bottom: 1em; }
|
291
|
+
.main-content code { padding: 2px 4px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 0.9rem; color: #567482; background-color: #f3f6fa; border-radius: 0.3rem; }
|
292
|
+
.main-content pre { padding: 0.8rem; margin-top: 0; margin-bottom: 1rem; font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace; color: #567482; word-wrap: normal; background-color: #f3f6fa; border: solid 1px #dce6f0; border-radius: 0.3rem; }
|
293
|
+
.main-content pre > code { padding: 0; margin: 0; font-size: 0.9rem; color: #567482; word-break: normal; white-space: pre; background: transparent; border: 0; }
|
294
|
+
.main-content .highlight { margin-bottom: 1rem; }
|
295
|
+
.main-content .highlight pre { margin-bottom: 0; word-break: normal; }
|
296
|
+
.main-content .highlight pre, .main-content pre { padding: 0.8rem; overflow: auto; font-size: 0.9rem; line-height: 1.45; border-radius: 0.3rem; -webkit-overflow-scrolling: touch; }
|
297
|
+
.main-content pre code, .main-content pre tt { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; }
|
298
|
+
.main-content pre code:before, .main-content pre code:after, .main-content pre tt:before, .main-content pre tt:after { content: normal; }
|
299
|
+
.main-content ul, .main-content ol { margin-top: 0; }
|
300
|
+
.main-content blockquote { padding: 0 1rem; margin-left: 0; color: #819198; border-left: 0.3rem solid #dce6f0; }
|
301
|
+
.main-content blockquote > :first-child { margin-top: 0; }
|
302
|
+
.main-content blockquote > :last-child { margin-bottom: 0; }
|
303
|
+
.main-content table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; -webkit-overflow-scrolling: touch; }
|
304
|
+
.main-content table th { font-weight: bold; }
|
305
|
+
.main-content table th, .main-content table td { padding: 0.5rem 1rem; border: 1px solid #e9ebec; }
|
306
|
+
.main-content dl { padding: 0; }
|
307
|
+
.main-content dl dt { padding: 0; margin-top: 1rem; font-size: 1rem; font-weight: bold; }
|
308
|
+
.main-content dl dd { padding: 0; margin-bottom: 1rem; }
|
309
|
+
.main-content hr { height: 2px; padding: 0; margin: 1rem 0; background-color: #eff0f1; border: 0; }
|
310
|
+
|
311
|
+
.site-footer { padding-top: 2rem; margin-top: 2rem; border-top: solid 1px #eff0f1; }
|
312
|
+
@media screen and (min-width: 64em) { .site-footer { font-size: 1rem; } }
|
313
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .site-footer { font-size: 1rem; } }
|
314
|
+
@media screen and (max-width: 42em) { .site-footer { font-size: 0.9rem; } }
|
315
|
+
|
316
|
+
.site-footer-owner { display: block; font-weight: bold; }
|
317
|
+
|
318
|
+
.site-footer-credits { color: #819198; }
|
@@ -0,0 +1,112 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>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=cb3f7f6f88d9139c4e4471a65d68f1dce95c26cc">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
15
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
16
|
+
|
17
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
18
|
+
|
19
|
+
|
20
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
22
|
+
|
23
|
+
</section>
|
24
|
+
|
25
|
+
<section class="main-content">
|
26
|
+
|
27
|
+
<h1 id="rock-paper-scissors">Rock Paper Scissors</h1>
|
28
|
+
|
29
|
+
<p><strong>Table of Contents</strong></p>
|
30
|
+
|
31
|
+
<ul>
|
32
|
+
<li><a href="#rock-paper-scissors">Rock Paper Scissors</a>
|
33
|
+
<ul>
|
34
|
+
<li><a href="#how-to-run-and-install">How to Run and Install</a>
|
35
|
+
<ul>
|
36
|
+
<li><a href="#install-and-run-on-mac">Install and Run on Mac</a>
|
37
|
+
<ul>
|
38
|
+
<li><a href="#running">Running</a></li>
|
39
|
+
<li><a href="#uninstalling">Uninstalling</a></li>
|
40
|
+
</ul>
|
41
|
+
</li>
|
42
|
+
<li><a href="#install-and-run-on-windows">Install and Run on Windows</a>
|
43
|
+
<ul>
|
44
|
+
<li><a href="#running-1">Running</a></li>
|
45
|
+
</ul>
|
46
|
+
</li>
|
47
|
+
</ul>
|
48
|
+
</li>
|
49
|
+
</ul>
|
50
|
+
</li>
|
51
|
+
</ul>
|
52
|
+
|
53
|
+
<h2 id="how-to-run-and-install">How to Run and Install</h2>
|
54
|
+
|
55
|
+
<h3 id="install-and-run-on-mac">Install and Run on Mac</h3>
|
56
|
+
|
57
|
+
<ol>
|
58
|
+
<li>Run the <code class="highlighter-rouge">rps.bash</code> file (located in the <code class="highlighter-rouge">exec</code> folder) with the <code class="highlighter-rouge">Terminal</code></li>
|
59
|
+
</ol>
|
60
|
+
|
61
|
+
<h4 id="running">Running</h4>
|
62
|
+
|
63
|
+
<ol>
|
64
|
+
<li>Open the <code class="highlighter-rouge">Terminal</code></li>
|
65
|
+
<li>Type in: <code class="highlighter-rouge">rps</code>, or <code class="highlighter-rouge">PlayRockPaperScissorsGame</code></li>
|
66
|
+
<li>Hit <kbd>return</kbd></li>
|
67
|
+
</ol>
|
68
|
+
|
69
|
+
<h4 id="uninstalling">Uninstalling</h4>
|
70
|
+
|
71
|
+
<ol>
|
72
|
+
<li>Run the <code class="highlighter-rouge">uninstaller.sh</code> file (located in the <code class="highlighter-rouge">exec</code> folder) with the <code class="highlighter-rouge">Terminal</code></li>
|
73
|
+
</ol>
|
74
|
+
|
75
|
+
<h3 id="install-and-run-on-windows">Install and Run on Windows</h3>
|
76
|
+
|
77
|
+
<ol>
|
78
|
+
<li>Download and install Ruby for Windows (if not already installed); download <a href="https://rubyinstaller.org/downloads/">here</a></li>
|
79
|
+
<li>Open <code class="highlighter-rouge">cmd</code> and type in: <code class="highlighter-rouge">gem install PlayRockPaperScissorsGame</code>; hit <kbd>enter</kbd></li>
|
80
|
+
<li>Run the <code class="highlighter-rouge">rps.bat</code> file (located in the <code class="highlighter-rouge">exec</code> folder)</li>
|
81
|
+
</ol>
|
82
|
+
|
83
|
+
<h4 id="running-1">Running</h4>
|
84
|
+
|
85
|
+
<ol>
|
86
|
+
<li>Open the <code class="highlighter-rouge">rps.bat</code> file (located in the <code class="highlighter-rouge">exec</code> folder)</li>
|
87
|
+
</ol>
|
88
|
+
|
89
|
+
<hr />
|
90
|
+
|
91
|
+
<table>
|
92
|
+
<tbody>
|
93
|
+
<tr>
|
94
|
+
<td><a href="CONTRIBUTING">Contributing</a></td>
|
95
|
+
<td><a href="CODE_OF_CONDUCT">Code of Conduct</a></td>
|
96
|
+
</tr>
|
97
|
+
</tbody>
|
98
|
+
</table>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<footer class="site-footer">
|
103
|
+
|
104
|
+
<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>
|
105
|
+
|
106
|
+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
|
107
|
+
</footer>
|
108
|
+
</section>
|
109
|
+
|
110
|
+
|
111
|
+
</body>
|
112
|
+
</html>
|
data/docs/_site/index.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
[//]: # (start)
|
2
|
+
|
3
|
+
Rock Paper Scissors
|
4
|
+
===================
|
5
|
+
|
6
|
+
**Table of Contents**
|
7
|
+
|
8
|
+
- [Rock Paper Scissors](#rock-paper-scissors)
|
9
|
+
- [How to Run and Install](#how-to-run-and-install)
|
10
|
+
- [Install and Run on Mac](#install-and-run-on-mac)
|
11
|
+
- [Running](#running)
|
12
|
+
- [Uninstalling](#uninstalling)
|
13
|
+
- [Install and Run on Windows](#install-and-run-on-windows)
|
14
|
+
- [Running](#running-1)
|
15
|
+
|
16
|
+
How to Run and Install
|
17
|
+
----------------------
|
18
|
+
|
19
|
+
### Install and Run on Mac
|
20
|
+
|
21
|
+
1. Run the `rps.bash` file (located in the `exec` folder) with the `Terminal`
|
22
|
+
|
23
|
+
#### Running
|
24
|
+
|
25
|
+
1. Open the `Terminal`
|
26
|
+
2. Type in: `rps`, or `PlayRockPaperScissorsGame`
|
27
|
+
3. Hit <kbd>return</kbd>
|
28
|
+
|
29
|
+
#### Uninstalling
|
30
|
+
|
31
|
+
1. Run the `uninstaller.sh` file (located in the `exec` folder) with the `Terminal`
|
32
|
+
|
33
|
+
### Install and Run on Windows
|
34
|
+
|
35
|
+
1. Download and install Ruby for Windows (if not already installed); download [here](https://rubyinstaller.org/downloads/)
|
36
|
+
2. Open `cmd` and type in: `gem install PlayRockPaperScissorsGame`; hit <kbd>enter</kbd>
|
37
|
+
3. Run the `rps.bat` file (located in the `exec` folder)
|
38
|
+
|
39
|
+
#### Running
|
40
|
+
|
41
|
+
1. Open the `rps.bat` file (located in the `exec` folder)
|
42
|
+
|
43
|
+
----------
|
44
|
+
|
45
|
+
[Contributing](CONTRIBUTING) | [Code of Conduct](CODE_OF_CONDUCT)
|
46
|
+
|
47
|
+
[//]: # (end)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "jekyll-theme-cayman"
|
5
|
+
s.version = "0.0.4"
|
6
|
+
s.license = "CC0-1.0"
|
7
|
+
s.authors = ["Jason Long", "GitHub, Inc."]
|
8
|
+
s.email = ["opensource+jekyll-theme-cayman@github.com"]
|
9
|
+
s.homepage = "https://github.com/pages-themes/cayman"
|
10
|
+
s.summary = "Cayman is a Jekyll theme for GitHub Pages"
|
11
|
+
|
12
|
+
s.files = `git ls-files -z`.split("\x0").select do |f|
|
13
|
+
f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
|
14
|
+
end
|
15
|
+
|
16
|
+
s.platform = Gem::Platform::RUBY
|
17
|
+
s.add_runtime_dependency "jekyll", "~> 3.3"
|
18
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
# Tag and push a release.
|
3
|
+
|
4
|
+
set -e
|
5
|
+
|
6
|
+
# Make sure we're in the project root.
|
7
|
+
|
8
|
+
cd $(dirname "$0")/..
|
9
|
+
|
10
|
+
# Make sure the darn thing works
|
11
|
+
|
12
|
+
bundle update
|
13
|
+
|
14
|
+
# Build a new gem archive.
|
15
|
+
|
16
|
+
rm -rf jekyll-theme-cayman-*.gem
|
17
|
+
gem build -q jekyll-theme-cayman.gemspec
|
18
|
+
|
19
|
+
# Make sure we're on the master branch.
|
20
|
+
|
21
|
+
(git branch | grep -q 'master') || {
|
22
|
+
echo "Only release from the master branch."
|
23
|
+
exit 1
|
24
|
+
}
|
25
|
+
|
26
|
+
# Figure out what version we're releasing.
|
27
|
+
|
28
|
+
tag=v`ls jekyll-theme-cayman-*.gem | sed 's/^jekyll-theme-cayman-\(.*\)\.gem$/\1/'`
|
29
|
+
|
30
|
+
# Make sure we haven't released this version before.
|
31
|
+
|
32
|
+
git fetch -t origin
|
33
|
+
|
34
|
+
(git tag -l | grep -q "$tag") && {
|
35
|
+
echo "Whoops, there's already a '${tag}' tag."
|
36
|
+
exit 1
|
37
|
+
}
|
38
|
+
|
39
|
+
# Tag it and bag it.
|
40
|
+
|
41
|
+
gem push jekyll-theme-cayman-*.gem && git tag "$tag" &&
|
42
|
+
git push origin master && git push origin "$tag"
|
Binary file
|
data/lib/rps/version.rb
CHANGED
data/rps.gemspec
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
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.9.
|
4
|
+
version: 1.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bag3318
|
@@ -107,6 +107,10 @@ files:
|
|
107
107
|
- bin/PlayRockPaperScissorsGame
|
108
108
|
- bin/rps
|
109
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
|
110
114
|
- docs/CODE_OF_CONDUCT.md
|
111
115
|
- docs/CONTRIBUTING.md
|
112
116
|
- docs/Gemfile
|
@@ -117,6 +121,19 @@ files:
|
|
117
121
|
- docs/_sass/normalize.scss
|
118
122
|
- docs/_sass/rouge-github.scss
|
119
123
|
- docs/_sass/variables.scss
|
124
|
+
- docs/_site/CODE_OF_CONDUCT.html
|
125
|
+
- docs/_site/CONTRIBUTING.html
|
126
|
+
- docs/_site/Gemfile
|
127
|
+
- docs/_site/LICENSE
|
128
|
+
- docs/_site/assets/css/style.css
|
129
|
+
- docs/_site/index.html
|
130
|
+
- docs/_site/index.md
|
131
|
+
- docs/_site/jekyll-theme-cayman.gemspec
|
132
|
+
- docs/_site/script/bootstrap
|
133
|
+
- docs/_site/script/cibuild
|
134
|
+
- docs/_site/script/release
|
135
|
+
- docs/_site/script/server
|
136
|
+
- docs/_site/thumbnail.png
|
120
137
|
- docs/assets/css/style.scss
|
121
138
|
- docs/index.md
|
122
139
|
- docs/jekyll-theme-cayman.gemspec
|
metadata.gz.sig
CHANGED
Binary file
|