Quantcast Game! (TI83 Program) - XP Math - Forums


XP Math Home Sign Up FREE! | Sign In | Classroom Setup | Common Core Alignment PDF Version

Go Back   XP Math - Forums > Welcome > Off-Topic Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-05-2007   #11
Scion

 
Join Date: Nov 2006
Posts: 437
Default

things enclosed in{} are notes this is just one big version to save some time for you
this will be named prgrm combat

PHP Code:
:disp "1)sword"
:disp "2)punch"
:disp "3)fire"
:disp "4)ice"
:Prompt F
:If f=1
:then
:x{will be explained in main game}-randint(.5B,.97B)>x
:disp "hp:"
:disp x
:if x<0
:prgrm menu{will be same thing as regular game except different monsters.
:
A-5>A
:Disp "U Hp:"
:Disp A
:End{end is only used for when the then functipon has 2 or more lines of coding after it}
:If 
f=2
:then x-.6B>x
:disp :Hp:"
:disp x
:if x<0
:prgrm menu
:A-5>A
:disp "
U Hp:"
:disp a
:end
:If f=3
:x-randint(.53C,.98C)>x
:disp "
hp:"
:disp x
:if x<0
:prgrm menu
:A-5>A
:Disp "
u hp:"
:disp a
:end
:If f=4
:then x-.76c>x
:disp "
hp:"
:disp x
:if x<0
:prgrm menu
:a-5>a
:Disp "
u hp:"
:disp a
:end 
__________________

Last edited by Scion; 05-05-2007 at 04:29 PM..
Scion is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
XP Math