<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Learn the Game Rules on Groundhog Learning</title><link>https://groundhoglearning.com/courses/console-game-library/odds-and-evens/learn-game-rules/</link><description>Recent content in Learn the Game Rules on Groundhog Learning</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://groundhoglearning.com/courses/console-game-library/odds-and-evens/learn-game-rules/index.xml" rel="self" type="application/rss+xml"/><item><title>Break down Mechanics</title><link>https://groundhoglearning.com/courses/console-game-library/odds-and-evens/learn-game-rules/break-down-mechanics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://groundhoglearning.com/courses/console-game-library/odds-and-evens/learn-game-rules/break-down-mechanics/</guid><description>&lt;h2 id="-instructions"&gt;📖 Instructions&lt;a class="anchor" href="#-instructions"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;An essential step in learning programming is learning how to think like a programmer.&lt;/p&gt;
&lt;p&gt;This means breaking down goals or problems into clear steps. It helps you understand the problem and prevents you from missing important parts.&lt;/p&gt;
&lt;p&gt;In this case, the goal is to build an Odds and Evens game where the player plays against the computer. Start by understanding how the game works: how it begins, how each round is played, and how the winner is decided.&lt;/p&gt;</description></item><item><title>Write the Game Logic</title><link>https://groundhoglearning.com/courses/console-game-library/odds-and-evens/learn-game-rules/write-the-game-logic/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://groundhoglearning.com/courses/console-game-library/odds-and-evens/learn-game-rules/write-the-game-logic/</guid><description>&lt;h2 id="-instructions"&gt;📖 Instructions&lt;a class="anchor" href="#-instructions"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Here are the steps needed to implement an Odds and Evens game:&lt;/p&gt;
&lt;details data-hint=""&gt;&lt;summary&gt;Spoiler Alert. Reveal only after completing the previous lesson.&lt;/summary&gt;&lt;div class="markdown-inner"&gt;
&lt;blockquote class='book-hint info'&gt;
&lt;ol&gt;
&lt;li&gt;Player chooses to play with odds or evens.&lt;/li&gt;
&lt;li&gt;Player enters a number between 1 and 2.&lt;/li&gt;
&lt;li&gt;Computer randomly generates a number between 1 and 2.&lt;/li&gt;
&lt;li&gt;Add the two numbers.&lt;/li&gt;
&lt;li&gt;Check if the sum is odd or even.&lt;/li&gt;
&lt;li&gt;Decide the round winner.&lt;/li&gt;
&lt;li&gt;Repeat rounds until one of the players wins two times.&lt;/li&gt;
&lt;li&gt;Announce the game winner.&lt;/li&gt;
&lt;li&gt;Ask the player to play again or quit.&lt;/li&gt;
&lt;/ol&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;/details&gt;
&lt;p&gt;These steps will serve as a roadmap for building the game.&lt;/p&gt;</description></item></channel></rss>