Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: JWinslow23 on November 27, 2013, 12:48:12 pm

Title: Mad Libs
Post by: JWinslow23 on November 27, 2013, 12:48:12 pm
My Mad Libs game is finally here!

I'll just copy-paste the readme now.

Code: [Select]
< You must be able to display this on one line >
                   _      _         _
/'\_/`\           ( )    ( )     _ ( )
|     |   _ _    _| |    | |    (_)| |_     ___
| (_) | /'_` ) /'_` |    | |  _ | || '_`\ /',__)
| | | |( (_| |( (_| |    | |_( )| || |_) )\__, \
(_) (_)`\__,_)`\__,_)    (____/'(_)(_,__/'(____/

                  by Josiah W

##############
#Requirements#
##############

* 4,152 bytes of RAM for the game AND var usage.

* (recommended, but not required)
No content in Pic1, Pic2, Str0, Str1, Str2 A, B,
N, X, or Y. These variables are overwritten by
MADLIBS.8xp.

##############
#Installation#
##############

* Transfer MADLIBS.8xp to your calculator. Then,
run it as a BASIC program on the homescreen.

#############
#How to Play#
#############

* Mad Libs is a fill-in-the-blank game.
* Press ENTER to get past the title screen.
* The story is "(adjective) WEATHER AHEAD!".
* There are 28 words you must enter (preferably
without a colon). Those will be words you fill
in for the blanks.
* Afterwards, press ENTER to read the story.
Press ENTER to move forward in the story.

###################
#Legal Information#
###################

* This program is freeware, please distribute it
freely. Do not sell this game, or claim it as
your own. Credit me for writing it.

#########
#Credits#
#########

* Nickelodeon Magazine for the Mad Libs story in
use.
* The user mountain100 on TI-BASIC Developer (he
is now Nicoskiy) for providing support along the
way.
* Xeda Elnara (from the same site) for providing
a string-extraction routine in use in the game.
This is it:

:"HELLO WORLD:BONJOUR:VENUSAUR→Str1
:DelVar B1
:While N and Ans
:N-1→N
:B+1→A
:inString(Str1,":",Ans→B
:End
:If not(Ans
:1+length(Str1
:sub(Str1,A,Ans-A

For different values of N, this would output
"HELLO WORLD", "BONJOUR", or "VENUSAUR".
* Whoever created the concept of "Mad Libs".

#################
#Version History#
#################

v1.0: Initial release

The file is here! (http://www.ticalc.org/archives/files/fileinfo/457/45714.html) How would you rate it?
Title: Re: Mad Libs
Post by: TheMachine02 on November 27, 2013, 01:19:32 pm
Well two thing if I can  :P   I think it would be better if at the start, you set AxeOff and correct Windows settings. Cause everything is messed up if you don't have this. Anyway, this is pretty cool
Title: Re: Mad Libs
Post by: JWinslow23 on November 27, 2013, 01:33:23 pm
Sorry, I forgot to add it in. But thanks!