<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Benk11</id>
	<title>Sugar Labs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Benk11"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/go/Special:Contributions/Benk11"/>
	<updated>2026-05-14T10:07:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand&amp;diff=68130</id>
		<title>Lemonade Stand</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand&amp;diff=68130"/>
		<updated>2011-08-12T17:48:00Z</updated>

		<summary type="html">&lt;p&gt;Benk11: /* Links and Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
[[File:ScreenshotCloudy.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This is your basic &amp;quot;Lemonade Stand&amp;quot; style game, where the player manages a lemonade stand (or similar such store) and tries to make as much money as possible. The game is designed to incorporate money and fractional math skills to teach basic operations. &lt;br /&gt;
&lt;br /&gt;
Localization will be implemented in the final phase, with the stand being written to use more regional ingredients and products.&lt;br /&gt;
&lt;br /&gt;
==Project Status==&lt;br /&gt;
{{:Lemonade_Stand/status}}&lt;br /&gt;
&lt;br /&gt;
Any interest in helping can be directed towards project leader [[User:Qalthos|Nathaniel Case]] as well as any of the other listed active members. Lemonade Stand is to be considered an open project, which is currently undoergoing active development for the RIT fall quarter 2010.  Nathaniel will continue to have interest in the project and will continue to provide assistance and input as time allows beyond this time.&lt;br /&gt;
&lt;br /&gt;
==Releases==&lt;br /&gt;
* [http://wiki.sugarlabs.org/f/fe/Lemonade_Stand_Stable.xo 1.0.0]: initial release.&lt;br /&gt;
* [http://gitorious.org/lemonade-stand-olpc/lemonade-stand-olpc/commit/aaf4186bf1403a6ee2892f9c606d676d78311f17 1.1.0](git tag): Updated game code.&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addons/versions/4321#version-4 2.0, XO Release 4]: Game Rewrite&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addons/versions/4321#version-5 2.1, XO Release 5]: Beautification Project&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
For more detailed information on how to implement new things, please see the [[Lemonade_Stand/Developer_Documentation|Developer Documentation]]&lt;br /&gt;
&lt;br /&gt;
The game&#039;s &#039;day&#039; is split into 3 parts (Start of day, Day occurs, and End of day)&lt;br /&gt;
&lt;br /&gt;
[[File:GameFlow2.jpg|550px]]&lt;br /&gt;
&lt;br /&gt;
===Morning===&lt;br /&gt;
Supplies are purchased and plans are made for the day.&amp;lt;br/&amp;gt;&lt;br /&gt;
A recipe may be chosen if more than one is available.&lt;br /&gt;
&lt;br /&gt;
===Day===&lt;br /&gt;
Customers queue at the stand and buy lemonade.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Evening===&lt;br /&gt;
Profit is calculated by the player and &#039;put away&#039;.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Midnight===&lt;br /&gt;
The day&#039;s activities are put together into a digest, including:&lt;br /&gt;
* Weather forecast for the next few days&lt;br /&gt;
* Special events that happened during the day&lt;br /&gt;
* Current discounts on supplies&lt;br /&gt;
* Any supplies which have perished will be listed&lt;br /&gt;
&lt;br /&gt;
Once the digest has been displayed, the game returns to morning again.&lt;br /&gt;
&lt;br /&gt;
==Difficulty Settings==&lt;br /&gt;
===Easy===&lt;br /&gt;
*Supplies will not perish&lt;br /&gt;
*Prices are fixed at multiples of 25 and products yield more money per sale.&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will not close while there are problems (trying to buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Normal===&lt;br /&gt;
*Supplies will not perish&lt;br /&gt;
*Prices are more complex multiples of 5 with slightly smaller profit margins&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will not close while there are problems (trying to buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Hard===&lt;br /&gt;
*Supplies will perish&lt;br /&gt;
*Prices are the same as Normal&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will allow you to give bad answers (buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Impossible===&lt;br /&gt;
*Supplies will perish&lt;br /&gt;
*Prices are not multiples of 5&lt;br /&gt;
*Subtotals are not listed for math problems&lt;br /&gt;
*Math-based screens will allow you to give bad answers (buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
We&#039;re looking to create a workable prototype with the ability to buy materials and sell a product.However, the most important goal is to have a working game. While possibly not feature complete, the game should have basic functions working.&lt;br /&gt;
&lt;br /&gt;
===Additional Ideas &amp;amp; Features=== &lt;br /&gt;
(Based on available time)&lt;br /&gt;
&lt;br /&gt;
=====Completed=====&lt;br /&gt;
* Creating a GUI based game&lt;br /&gt;
* Incorporating counting of money (bills and coins) to make change&lt;br /&gt;
* Cool [[Lemonade Stand/Events|Random Events]]:&lt;br /&gt;
* Weather patterns impacting sales&lt;br /&gt;
* Making materials perishable to increase difficulty&lt;br /&gt;
* Making the program more intuitive so that it can be easily learned&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====In progress=====&lt;br /&gt;
* Implementing multiple difficulties&lt;br /&gt;
* Redesign UI&lt;br /&gt;
* Advanced mode: changing the recipe for your &amp;quot;lemonade&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
** Strawberry Lemonade&lt;br /&gt;
** (Implemented but not purchaseable or usable)&lt;br /&gt;
&lt;br /&gt;
=====Wishlist=====&lt;br /&gt;
* Creating seasons to vary prices and product demand&amp;lt;br /&amp;gt;&lt;br /&gt;
* Random events that may influence supplies and/or cost and/or customers&amp;lt;br /&amp;gt;&lt;br /&gt;
* &amp;quot;Tools&amp;quot; to buy to increase efficiency&lt;br /&gt;
** Juicer reduces lemon requirement of recipies by 1/2&lt;br /&gt;
* Hidden values &#039;advertising&#039; and &#039;loyalty&#039;&lt;br /&gt;
** Upgrading the stand / buying more recipies increases advertising (does not decrease)&lt;br /&gt;
** Prices close to customer&#039;s expectations / satisfying demand increases loyalty (decreases over time)&lt;br /&gt;
** Both could act as a multiplier to customer demand. (base demand x advertising x loyalty = actual demand)&lt;br /&gt;
* Implementing Bargaining / Haggling&amp;lt;br /&amp;gt;&lt;br /&gt;
* Potential use of network, competitive, or cooperative modes&amp;lt;br /&amp;gt;&lt;br /&gt;
* Choosing location of Lemonade Stand within the town, would influence sales, cost of supplies, etc.&amp;lt;br /&amp;gt;&lt;br /&gt;
* Perhaps showing currency the player has letting them find total profit&lt;br /&gt;
&lt;br /&gt;
==Helping Out==&lt;br /&gt;
One of the things we always need are new [[Lemonade Stand/Events|random events]] to make the game more interesting.&amp;lt;br/&amp;gt;&lt;br /&gt;
Another thing which is always useful is submitting new [[Lemonade Stand/Art|artwork]].&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Fall 2010 Milestones==&lt;br /&gt;
* Week 3:&lt;br /&gt;
** Get JT&#039;s sketches into image files&lt;br /&gt;
** come up with more events and weather ideas&lt;br /&gt;
** add recipes&lt;br /&gt;
&lt;br /&gt;
* Week 4:&lt;br /&gt;
** new background image&lt;br /&gt;
** get into constants.py&lt;br /&gt;
** define what difficulties entail, implement lowest difficulty&lt;br /&gt;
** nail down ideas about overlays, startup screen&lt;br /&gt;
&lt;br /&gt;
* Week 5:&lt;br /&gt;
** implement two difficulties, simple and insane&lt;br /&gt;
** Get counting game images&lt;br /&gt;
** implement basic splash screen&lt;br /&gt;
&lt;br /&gt;
* Week 6:&lt;br /&gt;
** Get store images&lt;br /&gt;
** implement counting game&lt;br /&gt;
&lt;br /&gt;
* Week 7:&lt;br /&gt;
** Get activity log images&lt;br /&gt;
** Implement store&lt;br /&gt;
&lt;br /&gt;
* Week 8:&lt;br /&gt;
** Implement activity log&lt;br /&gt;
** Get images for other parts of the game (events, weather, etc.)&lt;br /&gt;
&lt;br /&gt;
==Potential Problems==&lt;br /&gt;
Localization is likely to be a big problem in this game.  Not simply translating the words, but also translating the idea, ie. finding out what kind of shop would be reasonable to open in a country, what it might stock, etc.&lt;br /&gt;
&lt;br /&gt;
This becomes even more difficult when moving to a graphical environment.  For every localized region we will need a different set of graphics depending on what the stand is selling.&lt;br /&gt;
&lt;br /&gt;
==Educational Standards==&lt;br /&gt;
[http://wiki.sugarlabs.org/go/Math4Team/Resources/Curriculum_Chart Standards found here]&lt;br /&gt;
&lt;br /&gt;
4.N.4 	 Select, use, and explain models to relate common fractions and mixed numbers (1/2, 1/3, 1/4, 1/5, 1/6, 1/8, 1/10, 1/12, and 11/2), find equivalent fractions, mixed numbers, and decimals, and order fractions&lt;br /&gt;
&lt;br /&gt;
4.N.6 	 Exhibit an understanding of the base ten number system by reading, naming, and writing decimals between 0 and 1 up to the hundredths. &lt;br /&gt;
&lt;br /&gt;
4.N.10 	 Select and use appropriate operations (addition, subtraction, multiplication, and division) to solve problems, including those involving money. &lt;br /&gt;
&lt;br /&gt;
4.D.3 	 Construct, draw conclusions, and make predictions from various representations of data sets, including tables, bar graphs, pictographs, line graphs, line plots, and tallies&lt;br /&gt;
&lt;br /&gt;
==Contacts==&lt;br /&gt;
=== Current ===&lt;br /&gt;
*[[User:Qalthos|Nathaniel Case]]&lt;br /&gt;
*[[User:Jlew| Justin Lewis]]&lt;br /&gt;
*[[User:Sarah Wagner|Sarah Wagner]]&lt;br /&gt;
*[[User:JT Mengel|JT Mengel]]&lt;br /&gt;
&lt;br /&gt;
=== Historical ===&lt;br /&gt;
*[[User:Mdd8919 | Mitchell DeMarco]]&lt;br /&gt;
*[[User:Epsilon748 | Anthony King]]&lt;br /&gt;
*[[User:Echo35 | Anthony Lubrani]]&lt;br /&gt;
*[[User:Jsang1|Jonathan Sanger]]&lt;br /&gt;
*[[User:Sss1406 | Steven Schoenfeld]]&lt;br /&gt;
&lt;br /&gt;
==Getting the Latest Snapshot from Git==&lt;br /&gt;
Lemonade Stand is available either under the [http://dbad-license.org/ DBAD License] or the GPLv3+&lt;br /&gt;
&lt;br /&gt;
To get the latest working version from Git, open a terminal and enter these commands:&lt;br /&gt;
&lt;br /&gt;
git clone git://gitorious.org/lemonade-stand-olpc/lemonade-stand.git&amp;lt;br/&amp;gt;&lt;br /&gt;
cd lemonade-stand&amp;lt;br/&amp;gt;&lt;br /&gt;
git clone git://git.fedorahosted.org/FortuneEngine.git fortuneengine&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
mv fortuneengine/fortuneengine/* ./fortuneengine/&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have pygame, then download and install it from [http://pygame.org pygame].&lt;br /&gt;
&lt;br /&gt;
The game can then be run by executing &#039;python LemonadeStand.py&#039;&lt;br /&gt;
&lt;br /&gt;
==Game Play==&lt;br /&gt;
After entering the command to run the game the following specials keys are used to actually play:&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;ENTER&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
**From the Welcome Screen - Enters the game.&lt;br /&gt;
**From the Main Screen - Enter the store.&lt;br /&gt;
**From the Store Screen - Complete transaction, Leave store.&lt;br /&gt;
**From Daily Log - Submits values entered.&lt;br /&gt;
*&#039;&#039;&#039;Arrow Keys&#039;&#039;&#039;: &lt;br /&gt;
**From the Store Screen - Left and right arrows select a product.&lt;br /&gt;
**From Daily Log - Up and down arrows select a monetary value (dollars, quarters, etc).&lt;br /&gt;
*&#039;&#039;&#039;Number Keys&#039;&#039;&#039;: From the Store Screen - Used to enter the desired quantity of the selected product.&lt;br /&gt;
**From Daily Log - Used to enter the number of dollars, quarters, etc. which make up your profit.&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;h&amp;gt;&#039;&#039;&#039;: From any screen - Causes a help message to appear or disappear.&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;ESC&amp;gt;&#039;&#039;&#039;: From any screen - Exits the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the different difficulty levels use the following commands to run LemonadeStand.py:&lt;br /&gt;
*&#039;&#039;&#039;Easy&#039;&#039;&#039;: python LemonadeStand.py -d 0&lt;br /&gt;
*&#039;&#039;&#039;Normal&#039;&#039;&#039;: python LemonadeStand.py -d 1&lt;br /&gt;
*&#039;&#039;&#039;Hard&#039;&#039;&#039;: python LemonadeStand.py -d 2&lt;br /&gt;
*&#039;&#039;&#039;Impossible&#039;&#039;&#039;: python LemonadeStand.py -d 3&lt;br /&gt;
&lt;br /&gt;
==Links and Resources==&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addon/4321/ Activity Page]&lt;br /&gt;
* [http://gitorious.org/lemonade-stand-olpc Git Repository]&lt;br /&gt;
* [https://fedorahosted.org/fossrit/wiki/LemonadeStand Project Trac]&lt;/div&gt;</summary>
		<author><name>Benk11</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand/Developer_Documentation&amp;diff=68129</id>
		<title>Lemonade Stand/Developer Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand/Developer_Documentation&amp;diff=68129"/>
		<updated>2011-08-12T17:46:32Z</updated>

		<summary type="html">&lt;p&gt;Benk11: /* Logic: LemonadeMain.py */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are three files which handle the running of Lemonade Stand.  They are broken up into data, logic, and GUI drawing.&lt;br /&gt;
&lt;br /&gt;
==Data: constants.py==&lt;br /&gt;
The easiest file to get into is constants.py.  This file has collections of all the different modifiable elements in the game, along with any important constants, like starting money or lemonade price.&lt;br /&gt;
&lt;br /&gt;
Each section consists of a dictionary or list, possibly containing more dictionaries.  To change a value in the game, simply make the corresponding change in the file.  For example, to make sugar cost $.07 per unit instead of $.05, change  &#039;cost&#039;: 5 to  &#039;cost&#039;: 7 under &#039;Sugar&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Logic: LemonadeMain.py==&lt;br /&gt;
There are a lot of methods for querying the state of the logic in here, but the most important ones are process_day_logic(), process_change(), and process_day_end()&lt;br /&gt;
&lt;br /&gt;
process_day_logic() is the main method which calculates how many items you can buy, how many customers shop at the stand, and how many drinks sold that day.  In other words, it runs to calculate the outcome of each &#039;day&#039; phase.&lt;br /&gt;
&lt;br /&gt;
process_change() runs the user&#039;s input against the change-counting algorithm to see if the user has picked the correct amount.  If the amount is right, it allows the player to proceed, otherwise it prompts the player that he has not succeeded and restarts the input.&lt;br /&gt;
&lt;br /&gt;
process_day_end() simply calls all events that happen at the end of the day, like random events, weather changes, etc.  If a new type of event is introduced, it should probably get called here.&lt;br /&gt;
&lt;br /&gt;
==GUI: LemonadeGui.py==&lt;br /&gt;
This file is broken up into a number of small methods each tasked with drawing one discrete element of the GUI.  These methods are then called by the draw() method which is in turn called when the game engine detects that something has changed on the screen.&lt;br /&gt;
&lt;br /&gt;
Methods should be as modular as it makes sense for them to be, with an eye towards keeping the XO from having to draw too much too often.  In other words, try to build as much as possible at once, but move anything that gets reused often to its own method.&lt;br /&gt;
&lt;br /&gt;
Note that there should be no &#039;print()&#039; statements in the production version. This is a graphical application.&lt;/div&gt;</summary>
		<author><name>Benk11</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand/Developer_Documentation&amp;diff=68128</id>
		<title>Lemonade Stand/Developer Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand/Developer_Documentation&amp;diff=68128"/>
		<updated>2011-08-12T17:43:40Z</updated>

		<summary type="html">&lt;p&gt;Benk11: /* GUI: LemonadeGui.py */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are three files which handle the running of Lemonade Stand.  They are broken up into data, logic, and GUI drawing.&lt;br /&gt;
&lt;br /&gt;
==Data: constants.py==&lt;br /&gt;
The easiest file to get into is constants.py.  This file has collections of all the different modifiable elements in the game, along with any important constants, like starting money or lemonade price.&lt;br /&gt;
&lt;br /&gt;
Each section consists of a dictionary or list, possibly containing more dictionaries.  To change a value in the game, simply make the corresponding change in the file.  For example, to make sugar cost $.07 per unit instead of $.05, change  &#039;cost&#039;: 5 to  &#039;cost&#039;: 7 under &#039;Sugar&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Logic: LemonadeMain.py==&lt;br /&gt;
There are a lot of methods for querying the state of the logic in here, but the most important ones are process_day_logic(), process_change(), and process_day_end()&lt;br /&gt;
&lt;br /&gt;
process_day_logic() is the main method which calculates how many items you can buy, calculates how many customers show up at your shop, and how many drinks you manage to sell to your customers that day.  in other words, it gets run to calculate the outcome of the &#039;day&#039; phase.&lt;br /&gt;
&lt;br /&gt;
process_change() runs the user&#039;s input against the change-counting algorithm to see if the user has picked the correct amount.  If the amount is right, it allows the player to proceed, otherwise it prompts the player that he has not succeeded and restarts the input.&lt;br /&gt;
&lt;br /&gt;
process_day_end() simply calls all events that happen at the end of the day, like random events, weather changes, etc.  If a new type of event is introduced it should probably get called here.&lt;br /&gt;
&lt;br /&gt;
==GUI: LemonadeGui.py==&lt;br /&gt;
This file is broken up into a number of small methods each tasked with drawing one discrete element of the GUI.  These methods are then called by the draw() method which is in turn called when the game engine detects that something has changed on the screen.&lt;br /&gt;
&lt;br /&gt;
Methods should be as modular as it makes sense for them to be, with an eye towards keeping the XO from having to draw too much too often.  In other words, try to build as much as possible at once, but move anything that gets reused often to its own method.&lt;br /&gt;
&lt;br /&gt;
Note that there should be no &#039;print()&#039; statements in the production version. This is a graphical application.&lt;/div&gt;</summary>
		<author><name>Benk11</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand&amp;diff=68022</id>
		<title>Lemonade Stand</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand&amp;diff=68022"/>
		<updated>2011-08-10T19:55:27Z</updated>

		<summary type="html">&lt;p&gt;Benk11: /* Getting the Latest Snapshot from Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
[[File:ScreenshotCloudy.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This is your basic &amp;quot;Lemonade Stand&amp;quot; style game, where the player manages a lemonade stand (or similar such store) and tries to make as much money as possible. The game is designed to incorporate money and fractional math skills to teach basic operations. &lt;br /&gt;
&lt;br /&gt;
Localization will be implemented in the final phase, with the stand being written to use more regional ingredients and products.&lt;br /&gt;
&lt;br /&gt;
==Project Status==&lt;br /&gt;
{{:Lemonade_Stand/status}}&lt;br /&gt;
&lt;br /&gt;
Any interest in helping can be directed towards project leader [[User:Qalthos|Nathaniel Case]] as well as any of the other listed active members. Lemonade Stand is to be considered an open project, which is currently undoergoing active development for the RIT fall quarter 2010.  Nathaniel will continue to have interest in the project and will continue to provide assistance and input as time allows beyond this time.&lt;br /&gt;
&lt;br /&gt;
==Releases==&lt;br /&gt;
* [http://wiki.sugarlabs.org/f/fe/Lemonade_Stand_Stable.xo 1.0.0]: initial release.&lt;br /&gt;
* [http://gitorious.org/lemonade-stand-olpc/lemonade-stand-olpc/commit/aaf4186bf1403a6ee2892f9c606d676d78311f17 1.1.0](git tag): Updated game code.&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addons/versions/4321#version-4 2.0, XO Release 4]: Game Rewrite&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
For more detailed information on how to implement new things, please see the [[Lemonade_Stand/Developer_Documentation|Developer Documentation]]&lt;br /&gt;
&lt;br /&gt;
The game&#039;s &#039;day&#039; is split into 3 parts (Start of day, Day occurs, and End of day)&lt;br /&gt;
&lt;br /&gt;
[[File:GameFlow2.jpg|550px]]&lt;br /&gt;
&lt;br /&gt;
===Morning===&lt;br /&gt;
Supplies are purchased and plans are made for the day.&amp;lt;br/&amp;gt;&lt;br /&gt;
A recipe may be chosen if more than one is available.&lt;br /&gt;
&lt;br /&gt;
===Day===&lt;br /&gt;
Customers queue at the stand and buy lemonade.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Evening===&lt;br /&gt;
Profit is calculated by the player and &#039;put away&#039;.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Midnight===&lt;br /&gt;
The day&#039;s activities are put together into a digest, including:&lt;br /&gt;
* Weather forecast for the next few days&lt;br /&gt;
* Special events that happened during the day&lt;br /&gt;
* Current discounts on supplies&lt;br /&gt;
* Any supplies which have perished will be listed&lt;br /&gt;
&lt;br /&gt;
Once the digest has been displayed, the game returns to morning again.&lt;br /&gt;
&lt;br /&gt;
==Difficulty Settings==&lt;br /&gt;
===Easy===&lt;br /&gt;
*Supplies will not perish&lt;br /&gt;
*Prices are fixed at multiples of 25 and products yield more money per sale.&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will not close while there are problems (trying to buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Normal===&lt;br /&gt;
*Supplies will not perish&lt;br /&gt;
*Prices are more complex multiples of 5 with slightly smaller profit margins&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will not close while there are problems (trying to buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Hard===&lt;br /&gt;
*Supplies will perish&lt;br /&gt;
*Prices are the same as Normal&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will allow you to give bad answers (buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Impossible===&lt;br /&gt;
*Supplies will perish&lt;br /&gt;
*Prices are not multiples of 5&lt;br /&gt;
*Subtotals are not listed for math problems&lt;br /&gt;
*Math-based screens will allow you to give bad answers (buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
We&#039;re looking to create a workable prototype with the ability to buy materials and sell a product.However, the most important goal is to have a working game. While possibly not feature complete, the game should have basic functions working.&lt;br /&gt;
&lt;br /&gt;
===Additional Ideas &amp;amp; Features=== &lt;br /&gt;
(Based on available time)&lt;br /&gt;
&lt;br /&gt;
=====Completed=====&lt;br /&gt;
* Creating a GUI based game&lt;br /&gt;
* Incorporating counting of money (bills and coins) to make change&lt;br /&gt;
* Cool [[Lemonade Stand/Events|Random Events]]:&lt;br /&gt;
* Weather patterns impacting sales&lt;br /&gt;
* Making materials perishable to increase difficulty&lt;br /&gt;
* Making the program more intuitive so that it can be easily learned&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====In progress=====&lt;br /&gt;
* Implementing multiple difficulties&lt;br /&gt;
* Redesign UI&lt;br /&gt;
* Advanced mode: changing the recipe for your &amp;quot;lemonade&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
** Strawberry Lemonade&lt;br /&gt;
** (Implemented but not purchaseable or usable)&lt;br /&gt;
&lt;br /&gt;
=====Wishlist=====&lt;br /&gt;
* Creating seasons to vary prices and product demand&amp;lt;br /&amp;gt;&lt;br /&gt;
* Random events that may influence supplies and/or cost and/or customers&amp;lt;br /&amp;gt;&lt;br /&gt;
* &amp;quot;Tools&amp;quot; to buy to increase efficiency&lt;br /&gt;
** Juicer reduces lemon requirement of recipies by 1/2&lt;br /&gt;
* Hidden values &#039;advertising&#039; and &#039;loyalty&#039;&lt;br /&gt;
** Upgrading the stand / buying more recipies increases advertising (does not decrease)&lt;br /&gt;
** Prices close to customer&#039;s expectations / satisfying demand increases loyalty (decreases over time)&lt;br /&gt;
** Both could act as a multiplier to customer demand. (base demand x advertising x loyalty = actual demand)&lt;br /&gt;
* Implementing Bargaining / Haggling&amp;lt;br /&amp;gt;&lt;br /&gt;
* Potential use of network, competitive, or cooperative modes&amp;lt;br /&amp;gt;&lt;br /&gt;
* Choosing location of Lemonade Stand within the town, would influence sales, cost of supplies, etc.&amp;lt;br /&amp;gt;&lt;br /&gt;
* Perhaps showing currency the player has letting them find total profit&lt;br /&gt;
&lt;br /&gt;
==Fall 2010 Milestones==&lt;br /&gt;
* Week 3:&lt;br /&gt;
** Get JT&#039;s sketches into image files&lt;br /&gt;
** come up with more events and weather ideas&lt;br /&gt;
** add recipes&lt;br /&gt;
&lt;br /&gt;
* Week 4:&lt;br /&gt;
** new background image&lt;br /&gt;
** get into constants.py&lt;br /&gt;
** define what difficulties entail, implement lowest difficulty&lt;br /&gt;
** nail down ideas about overlays, startup screen&lt;br /&gt;
&lt;br /&gt;
* Week 5:&lt;br /&gt;
** implement two difficulties, simple and insane&lt;br /&gt;
** Get counting game images&lt;br /&gt;
** implement basic splash screen&lt;br /&gt;
&lt;br /&gt;
* Week 6:&lt;br /&gt;
** Get store images&lt;br /&gt;
** implement counting game&lt;br /&gt;
&lt;br /&gt;
* Week 7:&lt;br /&gt;
** Get activity log images&lt;br /&gt;
** Implement store&lt;br /&gt;
&lt;br /&gt;
* Week 8:&lt;br /&gt;
** Implement activity log&lt;br /&gt;
** Get images for other parts of the game (events, weather, etc.)&lt;br /&gt;
&lt;br /&gt;
==Potential Problems==&lt;br /&gt;
Localization is likely to be a big problem in this game.  Not simply translating the words, but also translating the idea, ie. finding out what kind of shop would be reasonable to open in a country, what it might stock, etc.&lt;br /&gt;
&lt;br /&gt;
This becomes even more difficult when moving to a graphical environment.  For every localized region we will need a different set of graphics depending on what the stand is selling.&lt;br /&gt;
&lt;br /&gt;
==Educational Standards==&lt;br /&gt;
[http://wiki.sugarlabs.org/go/Math4Team/Resources/Curriculum_Chart Standards found here]&lt;br /&gt;
&lt;br /&gt;
4.N.4 	 Select, use, and explain models to relate common fractions and mixed numbers (1/2, 1/3, 1/4, 1/5, 1/6, 1/8, 1/10, 1/12, and 11/2), find equivalent fractions, mixed numbers, and decimals, and order fractions&lt;br /&gt;
&lt;br /&gt;
4.N.6 	 Exhibit an understanding of the base ten number system by reading, naming, and writing decimals between 0 and 1 up to the hundredths. &lt;br /&gt;
&lt;br /&gt;
4.N.10 	 Select and use appropriate operations (addition, subtraction, multiplication, and division) to solve problems, including those involving money. &lt;br /&gt;
&lt;br /&gt;
4.D.3 	 Construct, draw conclusions, and make predictions from various representations of data sets, including tables, bar graphs, pictographs, line graphs, line plots, and tallies&lt;br /&gt;
&lt;br /&gt;
==Contacts==&lt;br /&gt;
=== Current ===&lt;br /&gt;
*[[User:Qalthos|Nathaniel Case]]&lt;br /&gt;
*[[User:Jlew| Justin Lewis]]&lt;br /&gt;
*[[User:Sarah Wagner|Sarah Wagner]]&lt;br /&gt;
*[[User:JT Mengel|JT Mengel]]&lt;br /&gt;
&lt;br /&gt;
=== Historical ===&lt;br /&gt;
*[[User:Mdd8919 | Mitchell DeMarco]]&lt;br /&gt;
*[[User:Epsilon748 | Anthony King]]&lt;br /&gt;
*[[User:Echo35 | Anthony Lubrani]]&lt;br /&gt;
*[[User:Jsang1|Jonathan Sanger]]&lt;br /&gt;
*[[User:Sss1406 | Steven Schoenfeld]]&lt;br /&gt;
&lt;br /&gt;
==Getting the Latest Snapshot from Git==&lt;br /&gt;
Lemonade Stand is available either under the [http://dbad-license.org/ DBAD License] or the GPLv3+&lt;br /&gt;
&lt;br /&gt;
To get the latest working version from Git, open a terminal and enter these commands:&lt;br /&gt;
&lt;br /&gt;
git clone git://gitorious.org/lemonade-stand-olpc/lemonade-stand.git&amp;lt;br/&amp;gt;&lt;br /&gt;
cd lemonade-stand&amp;lt;br/&amp;gt;&lt;br /&gt;
git clone git://git.fedorahosted.org/FortuneEngine.git fortuneengine&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
mv fortuneengine/fortuneengine/* ./fortuneengine/&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have pygame, then download and install it from [http://pygame.org pygame].&lt;br /&gt;
&lt;br /&gt;
The game can then be run by executing &#039;python LemonadeStand.py&#039;&lt;br /&gt;
&lt;br /&gt;
==Game Play==&lt;br /&gt;
After entering the command to run the game the following specials keys are used to actually play:&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;ENTER&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
**From the Welcome Screen - Enters the game.&lt;br /&gt;
**From the Main Screen - Enter the store.&lt;br /&gt;
**From the Store Screen - Complete transaction, Leave store.&lt;br /&gt;
**From Daily Log - Submits values entered.&lt;br /&gt;
*&#039;&#039;&#039;Arrow Keys&#039;&#039;&#039;: &lt;br /&gt;
**From the Store Screen - Left and right arrows select a product.&lt;br /&gt;
**From Daily Log - Up and down arrows select a monetary value (dollars, quarters, etc).&lt;br /&gt;
*&#039;&#039;&#039;Number Keys&#039;&#039;&#039;: From the Store Screen - Used to enter the desired quantity of the selected product.&lt;br /&gt;
**From Daily Log - Used to enter the number of dollars, quarters, etc. which make up your profit.&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;h&amp;gt;&#039;&#039;&#039;: From any screen - Causes a help message to appear or disappear.&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;ESC&amp;gt;&#039;&#039;&#039;: From any screen - Exits the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the different difficulty levels use the following commands to run LemonadeStand.py:&lt;br /&gt;
*&#039;&#039;&#039;Easy&#039;&#039;&#039;: python LemonadeStand.py -d 0&lt;br /&gt;
*&#039;&#039;&#039;Normal&#039;&#039;&#039;: python LemonadeStand.py -d 1&lt;br /&gt;
*&#039;&#039;&#039;Hard&#039;&#039;&#039;: python LemonadeStand.py -d 2&lt;br /&gt;
*&#039;&#039;&#039;Impossible&#039;&#039;&#039;: python LemonadeStand.py -d 3&lt;br /&gt;
&lt;br /&gt;
==Links and Resources==&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addon/4321/ Activity Page]&lt;br /&gt;
* [http://gitorious.org/lemonade-stand-olpc/lemonade-stand-olpc Git Repository]&lt;br /&gt;
* [https://fedorahosted.org/fossrit/wiki/LemonadeStand Project Trac]&lt;/div&gt;</summary>
		<author><name>Benk11</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand&amp;diff=68021</id>
		<title>Lemonade Stand</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Lemonade_Stand&amp;diff=68021"/>
		<updated>2011-08-10T19:49:31Z</updated>

		<summary type="html">&lt;p&gt;Benk11: /* Getting the Latest Snapshot from Git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
[[File:ScreenshotCloudy.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This is your basic &amp;quot;Lemonade Stand&amp;quot; style game, where the player manages a lemonade stand (or similar such store) and tries to make as much money as possible. The game is designed to incorporate money and fractional math skills to teach basic operations. &lt;br /&gt;
&lt;br /&gt;
Localization will be implemented in the final phase, with the stand being written to use more regional ingredients and products.&lt;br /&gt;
&lt;br /&gt;
==Project Status==&lt;br /&gt;
{{:Lemonade_Stand/status}}&lt;br /&gt;
&lt;br /&gt;
Any interest in helping can be directed towards project leader [[User:Qalthos|Nathaniel Case]] as well as any of the other listed active members. Lemonade Stand is to be considered an open project, which is currently undoergoing active development for the RIT fall quarter 2010.  Nathaniel will continue to have interest in the project and will continue to provide assistance and input as time allows beyond this time.&lt;br /&gt;
&lt;br /&gt;
==Releases==&lt;br /&gt;
* [http://wiki.sugarlabs.org/f/fe/Lemonade_Stand_Stable.xo 1.0.0]: initial release.&lt;br /&gt;
* [http://gitorious.org/lemonade-stand-olpc/lemonade-stand-olpc/commit/aaf4186bf1403a6ee2892f9c606d676d78311f17 1.1.0](git tag): Updated game code.&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addons/versions/4321#version-4 2.0, XO Release 4]: Game Rewrite&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
For more detailed information on how to implement new things, please see the [[Lemonade_Stand/Developer_Documentation|Developer Documentation]]&lt;br /&gt;
&lt;br /&gt;
The game&#039;s &#039;day&#039; is split into 3 parts (Start of day, Day occurs, and End of day)&lt;br /&gt;
&lt;br /&gt;
[[File:GameFlow2.jpg|550px]]&lt;br /&gt;
&lt;br /&gt;
===Morning===&lt;br /&gt;
Supplies are purchased and plans are made for the day.&amp;lt;br/&amp;gt;&lt;br /&gt;
A recipe may be chosen if more than one is available.&lt;br /&gt;
&lt;br /&gt;
===Day===&lt;br /&gt;
Customers queue at the stand and buy lemonade.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Evening===&lt;br /&gt;
Profit is calculated by the player and &#039;put away&#039;.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Midnight===&lt;br /&gt;
The day&#039;s activities are put together into a digest, including:&lt;br /&gt;
* Weather forecast for the next few days&lt;br /&gt;
* Special events that happened during the day&lt;br /&gt;
* Current discounts on supplies&lt;br /&gt;
* Any supplies which have perished will be listed&lt;br /&gt;
&lt;br /&gt;
Once the digest has been displayed, the game returns to morning again.&lt;br /&gt;
&lt;br /&gt;
==Difficulty Settings==&lt;br /&gt;
===Easy===&lt;br /&gt;
*Supplies will not perish&lt;br /&gt;
*Prices are fixed at multiples of 25 and products yield more money per sale.&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will not close while there are problems (trying to buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Normal===&lt;br /&gt;
*Supplies will not perish&lt;br /&gt;
*Prices are more complex multiples of 5 with slightly smaller profit margins&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will not close while there are problems (trying to buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Hard===&lt;br /&gt;
*Supplies will perish&lt;br /&gt;
*Prices are the same as Normal&lt;br /&gt;
*Subtotals are listed for all math problems&lt;br /&gt;
*Math-based screens will allow you to give bad answers (buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
===Impossible===&lt;br /&gt;
*Supplies will perish&lt;br /&gt;
*Prices are not multiples of 5&lt;br /&gt;
*Subtotals are not listed for math problems&lt;br /&gt;
*Math-based screens will allow you to give bad answers (buy too many supplies, not collecting correct change)&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
We&#039;re looking to create a workable prototype with the ability to buy materials and sell a product.However, the most important goal is to have a working game. While possibly not feature complete, the game should have basic functions working.&lt;br /&gt;
&lt;br /&gt;
===Additional Ideas &amp;amp; Features=== &lt;br /&gt;
(Based on available time)&lt;br /&gt;
&lt;br /&gt;
=====Completed=====&lt;br /&gt;
* Creating a GUI based game&lt;br /&gt;
* Incorporating counting of money (bills and coins) to make change&lt;br /&gt;
* Cool [[Lemonade Stand/Events|Random Events]]:&lt;br /&gt;
* Weather patterns impacting sales&lt;br /&gt;
* Making materials perishable to increase difficulty&lt;br /&gt;
* Making the program more intuitive so that it can be easily learned&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====In progress=====&lt;br /&gt;
* Implementing multiple difficulties&lt;br /&gt;
* Redesign UI&lt;br /&gt;
* Advanced mode: changing the recipe for your &amp;quot;lemonade&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
** Strawberry Lemonade&lt;br /&gt;
** (Implemented but not purchaseable or usable)&lt;br /&gt;
&lt;br /&gt;
=====Wishlist=====&lt;br /&gt;
* Creating seasons to vary prices and product demand&amp;lt;br /&amp;gt;&lt;br /&gt;
* Random events that may influence supplies and/or cost and/or customers&amp;lt;br /&amp;gt;&lt;br /&gt;
* &amp;quot;Tools&amp;quot; to buy to increase efficiency&lt;br /&gt;
** Juicer reduces lemon requirement of recipies by 1/2&lt;br /&gt;
* Hidden values &#039;advertising&#039; and &#039;loyalty&#039;&lt;br /&gt;
** Upgrading the stand / buying more recipies increases advertising (does not decrease)&lt;br /&gt;
** Prices close to customer&#039;s expectations / satisfying demand increases loyalty (decreases over time)&lt;br /&gt;
** Both could act as a multiplier to customer demand. (base demand x advertising x loyalty = actual demand)&lt;br /&gt;
* Implementing Bargaining / Haggling&amp;lt;br /&amp;gt;&lt;br /&gt;
* Potential use of network, competitive, or cooperative modes&amp;lt;br /&amp;gt;&lt;br /&gt;
* Choosing location of Lemonade Stand within the town, would influence sales, cost of supplies, etc.&amp;lt;br /&amp;gt;&lt;br /&gt;
* Perhaps showing currency the player has letting them find total profit&lt;br /&gt;
&lt;br /&gt;
==Fall 2010 Milestones==&lt;br /&gt;
* Week 3:&lt;br /&gt;
** Get JT&#039;s sketches into image files&lt;br /&gt;
** come up with more events and weather ideas&lt;br /&gt;
** add recipes&lt;br /&gt;
&lt;br /&gt;
* Week 4:&lt;br /&gt;
** new background image&lt;br /&gt;
** get into constants.py&lt;br /&gt;
** define what difficulties entail, implement lowest difficulty&lt;br /&gt;
** nail down ideas about overlays, startup screen&lt;br /&gt;
&lt;br /&gt;
* Week 5:&lt;br /&gt;
** implement two difficulties, simple and insane&lt;br /&gt;
** Get counting game images&lt;br /&gt;
** implement basic splash screen&lt;br /&gt;
&lt;br /&gt;
* Week 6:&lt;br /&gt;
** Get store images&lt;br /&gt;
** implement counting game&lt;br /&gt;
&lt;br /&gt;
* Week 7:&lt;br /&gt;
** Get activity log images&lt;br /&gt;
** Implement store&lt;br /&gt;
&lt;br /&gt;
* Week 8:&lt;br /&gt;
** Implement activity log&lt;br /&gt;
** Get images for other parts of the game (events, weather, etc.)&lt;br /&gt;
&lt;br /&gt;
==Potential Problems==&lt;br /&gt;
Localization is likely to be a big problem in this game.  Not simply translating the words, but also translating the idea, ie. finding out what kind of shop would be reasonable to open in a country, what it might stock, etc.&lt;br /&gt;
&lt;br /&gt;
This becomes even more difficult when moving to a graphical environment.  For every localized region we will need a different set of graphics depending on what the stand is selling.&lt;br /&gt;
&lt;br /&gt;
==Educational Standards==&lt;br /&gt;
[http://wiki.sugarlabs.org/go/Math4Team/Resources/Curriculum_Chart Standards found here]&lt;br /&gt;
&lt;br /&gt;
4.N.4 	 Select, use, and explain models to relate common fractions and mixed numbers (1/2, 1/3, 1/4, 1/5, 1/6, 1/8, 1/10, 1/12, and 11/2), find equivalent fractions, mixed numbers, and decimals, and order fractions&lt;br /&gt;
&lt;br /&gt;
4.N.6 	 Exhibit an understanding of the base ten number system by reading, naming, and writing decimals between 0 and 1 up to the hundredths. &lt;br /&gt;
&lt;br /&gt;
4.N.10 	 Select and use appropriate operations (addition, subtraction, multiplication, and division) to solve problems, including those involving money. &lt;br /&gt;
&lt;br /&gt;
4.D.3 	 Construct, draw conclusions, and make predictions from various representations of data sets, including tables, bar graphs, pictographs, line graphs, line plots, and tallies&lt;br /&gt;
&lt;br /&gt;
==Contacts==&lt;br /&gt;
=== Current ===&lt;br /&gt;
*[[User:Qalthos|Nathaniel Case]]&lt;br /&gt;
*[[User:Jlew| Justin Lewis]]&lt;br /&gt;
*[[User:Sarah Wagner|Sarah Wagner]]&lt;br /&gt;
*[[User:JT Mengel|JT Mengel]]&lt;br /&gt;
&lt;br /&gt;
=== Historical ===&lt;br /&gt;
*[[User:Mdd8919 | Mitchell DeMarco]]&lt;br /&gt;
*[[User:Epsilon748 | Anthony King]]&lt;br /&gt;
*[[User:Echo35 | Anthony Lubrani]]&lt;br /&gt;
*[[User:Jsang1|Jonathan Sanger]]&lt;br /&gt;
*[[User:Sss1406 | Steven Schoenfeld]]&lt;br /&gt;
&lt;br /&gt;
==Getting the Latest Snapshot from Git==&lt;br /&gt;
Lemonade Stand is available either under the [http://dbad-license.org/ DBAD License] or the GPLv3+&lt;br /&gt;
&lt;br /&gt;
To get the latest working version from Git, open a terminal and enter these commands:&lt;br /&gt;
&lt;br /&gt;
git clone git://gitorious.org/lemonade-stand-olpc/lemonade-stand.git&amp;lt;br/&amp;gt;&lt;br /&gt;
cd lemonade-stand&amp;lt;br/&amp;gt;&lt;br /&gt;
git clone git://git.fedorahosted.org/FortuneEngine.git fortuneengine&amp;lt;br/&amp;gt;&lt;br /&gt;
mv fortuneengine/fortuneengine/* fortunenegine&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have pygame, then download it from [http://pygame.org pygame].&lt;br /&gt;
&lt;br /&gt;
The game can then be run by executing &#039;python LemonadeStand.py&#039;&lt;br /&gt;
&lt;br /&gt;
==Game Play==&lt;br /&gt;
After entering the command to run the game the following specials keys are used to actually play:&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;ENTER&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
**From the Welcome Screen - Enters the game.&lt;br /&gt;
**From the Main Screen - Enter the store.&lt;br /&gt;
**From the Store Screen - Complete transaction, Leave store.&lt;br /&gt;
**From Daily Log - Submits values entered.&lt;br /&gt;
*&#039;&#039;&#039;Arrow Keys&#039;&#039;&#039;: &lt;br /&gt;
**From the Store Screen - Left and right arrows select a product.&lt;br /&gt;
**From Daily Log - Up and down arrows select a monetary value (dollars, quarters, etc).&lt;br /&gt;
*&#039;&#039;&#039;Number Keys&#039;&#039;&#039;: From the Store Screen - Used to enter the desired quantity of the selected product.&lt;br /&gt;
**From Daily Log - Used to enter the number of dollars, quarters, etc. which make up your profit.&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;h&amp;gt;&#039;&#039;&#039;: From any screen - Causes a help message to appear or disappear.&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;ESC&amp;gt;&#039;&#039;&#039;: From any screen - Exits the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the different difficulty levels use the following commands to run LemonadeStand.py:&lt;br /&gt;
*&#039;&#039;&#039;Easy&#039;&#039;&#039;: python LemonadeStand.py -d 0&lt;br /&gt;
*&#039;&#039;&#039;Normal&#039;&#039;&#039;: python LemonadeStand.py -d 1&lt;br /&gt;
*&#039;&#039;&#039;Hard&#039;&#039;&#039;: python LemonadeStand.py -d 2&lt;br /&gt;
*&#039;&#039;&#039;Impossible&#039;&#039;&#039;: python LemonadeStand.py -d 3&lt;br /&gt;
&lt;br /&gt;
==Links and Resources==&lt;br /&gt;
* [http://activities.sugarlabs.org/en-US/sugar/addon/4321/ Activity Page]&lt;br /&gt;
* [http://gitorious.org/lemonade-stand-olpc/lemonade-stand-olpc Git Repository]&lt;br /&gt;
* [https://fedorahosted.org/fossrit/wiki/LemonadeStand Project Trac]&lt;/div&gt;</summary>
		<author><name>Benk11</name></author>
	</entry>
</feed>