docs/_site/Code.html in PlayRockPaperScissorsGame-2.6.2 vs docs/_site/Code.html in PlayRockPaperScissorsGame-2.6.3

- old
+ new

@@ -5,11 +5,11 @@ <title>Master Code - Play Rock Paper Scissors Game</title> <meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="theme-color" content="#157878"/> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' /> - <link rel="stylesheet" href="/assets/css/style.css?v=13ce343f3721fc075204f26576d4788f91d928e7"/> + <link rel="stylesheet" href="/assets/css/style.css?v=a11cb915de76846077f62cffbdd5ad43dcb04f39"/> <link rel="stylesheet" href="assets/css/pace.css" /> <script src="assets/js/pace.min.js"></script> </head> <body> @@ -62,11 +62,11 @@ =end</span> <span class="k">class</span> <span class="nc">PlayRockPaperScissorsGame</span> <span class="k">module</span> <span class="nn">RockPaperScissors</span> - <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.2"</span> + <span class="no">VERSION</span> <span class="o">=</span> <span class="s2">"2.6.3"</span> <span class="k">end</span> <span class="c1"># import the colorize gem</span> <span class="nb">require</span> <span class="s2">"colorized_string"</span> <span class="no">ColorizedString</span><span class="p">.</span><span class="nf">colors</span> <span class="c1"># import colors; ex: red, green, blue from colorize gem</span> @@ -152,10 +152,12 @@ <span class="n">choice</span> <span class="o">=</span> <span class="nb">gets</span><span class="p">.</span><span class="nf">chomp</span><span class="p">.</span><span class="nf">downcase</span> <span class="k">if</span> <span class="no">Constants</span><span class="o">::</span><span class="no">NTRY_TO_SYM</span><span class="p">.</span><span class="nf">key?</span><span class="p">(</span><span class="n">choice</span><span class="p">)</span> <span class="k">return</span> <span class="no">Constants</span><span class="o">::</span><span class="no">NTRY_TO_SYM</span><span class="p">[</span><span class="n">choice</span><span class="p">]</span> <span class="k">elsif</span> <span class="n">choice</span> <span class="o">!=</span> <span class="no">Constants</span><span class="o">::</span><span class="no">VALID_ENTRIES</span> <span class="nb">puts</span> <span class="no">ColorizedString</span><span class="p">[</span><span class="s2">"That entry is invalid. Please re-enter."</span><span class="p">].</span><span class="nf">colorize</span><span class="p">(</span><span class="ss">:red</span><span class="p">)</span> + <span class="k">else</span> + <span class="c1"># do nothing</span> <span class="k">end</span> <span class="k">end</span> <span class="k">end</span> <span class="k">def</span> <span class="nf">player_outcome</span><span class="p">(</span><span class="n">plays</span><span class="p">)</span> @@ -185,10 +187,10 @@ <footer class="site-footer"> <h2 id="site-nav">Site Nav</h2> <table> <tr> - <td><a href="">Home</a> + <td><a href="./">Home</a> <td><a href="Testing">How to Test</a></td> <td><a href="Comparing_Code">Comparing Code</a></td> <td><a href="Code">Master Code</a></td> <td><a href="How_to_Build">How to Build</a></td> <td><a href="about">About</a></td>