_____ _ __ __
/ ____| | | \ \ / /
| | __ _ _ __ __| |_ \ \ /\ / /_ _ _ __ ___
| | / _` | '_ \ / _` | | | \ \/ \/ / _` | '__/ __|
| |___| (_| | | | | (_| | |_| |\ /\ / (_| | | \__ \
\_____\__,_|_| |_|\__,_|\__, | \/ \/ \__,_|_| |___/
__/ |
|___/
by Josiah W.
##############
#Requirements#
##############
* 2,274 bytes of RAM for the game AND variable usage.
* (recommended, but not required)
No content in L1, L2, A, D, F, M, or X. These variables
are overwritten by CANDYWAR.8xp.
##############
#Installation#
##############
* Transfer CANDYWAR.8xp to your calculator. Then, run
it as a BASIC program on the homescreen.
#############
#How to Play#
#############
* Candy Wars is a Drug-Wars type game, with obvious
changes.
* Press ENTER to get past the title screen.
* Press UP and DOWN to go through menu options, and
ENTER to confirm your selection.
* You start with $10,000. Your goal is to buy and sell
candy to get over $50,000 to buy a new bike in as
little time as possible.
* These are the high and low values for candy prices.
+---------+-----------+
|Candy |Price Range|
+---------+-----------+
|Gum |$15-50 |
+---------+-----------+
|Lollipops|$50-100 |
+---------+-----------+
|Reeses |$100-500 |
+---------+-----------+
|Kit Kat |$500-1000 |
+---------+-----------+
|Twix |$1000-5000 |
+---------+-----------+
|Hersheys |$5000-10000|
+---------------------+
* Be warned...health crazed parents might take some of
your candies at any time.
* Sometimes, you can get great deals on candies. Be on
the lookout for those kinds of deals!
#################
#Tips and Tricks#
#################
* Try to take advantage of as many deals as possible.
* Sell as many candies as you can, if you don't want to
get caught by health crazed parents.
* When in doubt, perhaps buy a Hersheys.
###################
#Legal Information#
###################
* This program is freeware, it shall be distributed
freely. Do not sell this game, or claim it as your own.
If you do distribute this program, credit me for it.
#########
#Credits#
#########
* Jonathan Maier for making the original TI-82 Drug Wars.
* gist.github.com/mattmanning/1002653 for having the
original TI-82 Drug Wars code.
* Ryan Bowen ([email protected]) for making an
excellent Candy Wars game, inspiring me to make mine.
#################
#Version History#
#################
v1.0: Initial release
Lbl C
"0123456789"->Str3
"DAYS"->Str1
D->E
0->B
":"->Str2
1000000->A
While A != .1
If iPart(E/A)=0 and B=0
Goto S
Str2+sub(Str3,iPart(E/A)+1,1)->Str2
1->B
E-iPart(E/A)*A->E
Lbl S
A/10->A
End
Str1+Str2->Str1
0
Menu(" CANDY WARS","SEE PRICES",0,"SEE YOUR CANDY",1,"BUY",2,"SELL"
,3,"EXIT",theta,Str1,C)
"DAYS:
For(X,1+int(log(D)),1,-1
Ans+sub("0123456789",1+int(10fPart(D/10^(X))),1
End
Ans -> Str1
Drug Wars was a great classic