allen1090 Posted March 24, 2004 Share Posted March 24, 2004 well here it is i need to know how to make this in the calculator any help would be nice *-> is the [sto>] key * *<= is "less than or equal to" aka the < with the line under it* ClrHome Disp "Welcome to","Yugioh","Life Point","Calculator"," ","v. 1.5" Pause Lbl A Menu("Please choose:","Full Game",FG,"Quit",Q Lbl FG ClrHome 8000->A 8000->B Lbl P1 ClrHome Menu("-1-Player One-1-","Attack ATK mon",A1,"Attack DEF mon",D1,"Pay/lose LP",M1,"P2 lose/gain",2G,"Gain LP",G1,"End turn",P2 Lbl A1 Input "Your ATK: ",P Input "Opponent's ATK: ",R ClrHome abs(P-R)->D If P>R:Goto W1 If P<R:Goto L1 If P=R:Goto T1 Lbl W1 B-D->B Disp "Player 2 loses:",D,"Player two's","monster is","destroyed" Pause Goto R1 Lbl L1 A-D->A Disp "Player 1 loses:",D,"Player one's","monster is","destroyed" Pause Goto R1 Lbl T1 Disp "Draw" Pause Lbl R1 If A<=0:Goto ED If B<=0:Goto ED Disp "Player one:",A,"Player two:",B Pause Goto P1 Lbl D1 Input "Your ATK: ",P Input "Opponent's DEF: ",R abs(P-R)->D If P<R:Goto L3 If P=R:Goto T1 Disp "Player 2 monster","is destroyed" Pause Goto R1 Lbl L3 A-D->A Disp "Player 1 loses:",D,"No monster","is destroyed" Pause Goto R1 Lbl M1 Input "Pay how much: ",C A-C->A Goto R1 Lbl G1 Input "Gain how much: ",G A+G->A Goto R1 Lbl 2G Input "Player 2 (+/-): ",W B+W->B Goto R1 Lbl P2 ClrHome Menu("-2-Player Two-2-","Attack ATK mon",A2,"Attack DEF mon",D2,"Pay/lose LP",M2,"P1 lose/gain",1G,"Gain LP",G2,"End turn",P1 Lbl A2 Input "Your ATK: ",P Input "Opponent's: ",R ClrHome abs(P-R)->D If P>R:Goto W2 If P<R:Goto L2 If P=R:Goto T2 Lbl W2 A-D->A Disp "Player one loses: ",D,"Player one's","monster is","destroyed" Pause Goto R2 Lbl L2 B-D->B Disp "Player two loses: ",D,"Player two's","monster is","destroyed" Pause Goto R2 Lbl T2 Disp "Draw" Pause Lbl R2 If A<=0:Goto ED If B<=0:Goto ED Disp "Player one: ",A,"Player two: ",B Pause Goto P2 Lbl D2 Input "Your ATK: ",P Input "Opponent's DEF: ",R abs(P-R)->D If P<R:Goto L4 If P=R:Goto T2 Disp "Player 1 monster","is destroyed" Pause Goto R2 Lbl L4 B-D->B Disp "Player 2 loses:",D,"No monster","is destroyed" Pause Goto R2 Lbl M2 Input "Pay how much: ",C B-C->B Goto R2 Lbl G2 Input "Gain how much: ",G B+G->B Goto R2 Lbl 1G Input "Player 1 (+/-): ",W A+W->A Goto R2 Lbl ED If A<0:0->A If B<0:0->B Disp "Player 1:",A, If A>B:Disp "Player one wins!" If A<B:Disp "Player two wins!" Pause Goto A Lbl Q ClrHome Stop Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 any one Link to comment Share on other sites More sharing options...
OptiPlex Posted March 24, 2004 Share Posted March 24, 2004 You can use 2 or more characters for label names? (e.g. P1) Wow, I must be doing something wrong then... :unsure: Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 i really dont know :wacko: :blink: ....do u think u can heklp me with this?? :D Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 You should write it in assembly (Y) I don't have a TI-83, I have an 86 :/ So I can't help much... I want an 89 :happy: Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 dunno when next assembly is :huh: and ide also need to print it out :unsure: ..its an 83plus..just letting you know ;) ...and yea i want the 89 to.. but need this one for high school :( Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 TI-83 = TI-83+ = TI-83+ Silver Edition, etc, etc... :p It's still a Ti-83 :yes: Assembly is basically raw CPU code instructions. Hard to think about when you're just starting programming :/ Anyway, what problems are you having with the code? I could look through it and see if I find anything wrong, but no guarantees... Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 yes but 83plus just has sme upgrades ram and speed it think... yes i am just startin programming..well kinda.. well i just want to know like how to type this in and that.... i know that i have to go to PRGM and new.. i just want to know how to type it in..like what it would look like. this program aint mine but my freind found it somewere and wants me to program it into my calc. so i can send it to his so he doesnt have to.. Link to comment Share on other sites More sharing options...
HoochieMamma Posted March 24, 2004 Share Posted March 24, 2004 I have a TI-89 and would recomend it very much :yes: Just thought I would say it :p Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 this program aint mine but my freind found it somewere and wants me to program it into my calc. so i can send it to his so he doesnt have to.. LOL! Sell it to him after you type it all in ;) (Y) Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 lol good idea Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 so any help with it Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 Help with what? :huh: You should just be able to type it all in and run it... Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 i just want to know what it shopuld look like..like does it ned those commas and do i type in the lbl that stuff Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 You type it all in exactly as you see it here. Including Lbl. BTW, it's case-sensitive ;) Link to comment Share on other sites More sharing options...
Dessimat0r Posted March 24, 2004 Share Posted March 24, 2004 dunno when next assembly is :huh: No no... not AN assembly. Assembly code, as close to the machine code as you can get. Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 yes i know now i was told that hmm my smilies arnt working Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 ok i just found the Lbl and the ClrHome stuff..ill try and ill tell ya what happens in about an hours or so Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 one thing do i need the spaces between each line or no..if so how do i get them..do i just push enter.cause i think i might have to..not sure Link to comment Share on other sites More sharing options...
jplanc Posted March 24, 2004 Share Posted March 24, 2004 If you have the cable to connect your calc to your computer, or can get your hands on one, you can send it all over without having to type it all in. Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 if i could get one i would have done that by now my smilies still dont work Link to comment Share on other sites More sharing options...
jplanc Posted March 24, 2004 Share Posted March 24, 2004 No you do not need the spaces between the lines, but if you want them there to help with organization, Enter is the way to get them there. Also, the only time you actually type in the words letter for letter is when they're in quotations. If you can't find a certain command word under PRGM, MATH, etc. just look it up in CATALOG. Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 Why wouldn't they work? Mine work :huh: :) :D :( :/ :ermm: :huh: :cool: :devil: :ninja: :shifty: :whistle: :blink: Make sure you're typing them correctly, or are you clicking them to insert one? Link to comment Share on other sites More sharing options...
allen1090 Posted March 24, 2004 Author Share Posted March 24, 2004 clicking Link to comment Share on other sites More sharing options...
John Veteran Posted March 24, 2004 Veteran Share Posted March 24, 2004 Forum bug! :o Me tests... :shifty: Hmm, works for me :huh: What browser are you using? Link to comment Share on other sites More sharing options...
Recommended Posts