626 bytes added
, 15:07, 11 November 2010
There are three files which handle the running of Lemonade Stand. They are broken up into data, logic, and GUI drawing.
==Data: constants.py==
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.
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, cahnge 'cost': 5 to 'cost': 7 under 'Sugar'.