LEMONADE STAND

by Michael Guy

from ZX Computing Aug/Sep.1983



GETTING FIZZICAL!



An adaptation of the popular game, Lemonade stand, for the

Spectrum by fourteen year old Michael Guy of Runcorn.





[NOTE: If the cost price is exactly 10p less than the sale price]

[then line 330 gives "Number too big" (dividing by zero).   JimG]





Having seen the program, Lemonade stand, adapted for a

variety of micros, Michael was a little disappointed not to

find a version of the game for the ZX Spectrum. So, like any

enterprising programmer, he sat down and wrote one for

himself. The result of his work follows in the published

listing - you should enjoy it, his computer club liked it so

much they awarded him a small prize!





In the drink



In the program, you are placed in charge of a lemonade stand

in Hyde Park, London. You start off with a mere #10 and your

object, in true capitalist fashion, is to make as much money

as you can. Fortunately, there are only two major decisions

you need make: how many cups to make that day and how much

you intend to charge for each cup of lemonade.



Once this decision has been made, you will be greeted with a

screen display of two glasses on the counter which slowly

fill up. A clock appears on-screen to tell you the time of

day, and you have to shut up the stand at seven o'clock.

[Eight o'clock, actually. JimG]



At the end of each day, you are shown a report of the day's

takings, and your profit and losses are added and subtracted

from your total spending money. Should you run out of money,

you will be told how well you did and if you manage to last

out the whole week, you will be given some praise.



Take care of the vandals though, if they wreck your stand

you'll have to fork out #20 to get the repairs done!





--

Another Fine Product transcribed by:

Jim Grimwood, Weardale, England

--

