0 Members and 3 Guests are viewing this topic.
# Comment: -> is the STO command, >= is the greater than or equal sign (≥), <= is the less than or equal sign (≤), and != is the not equal sign (≠).# SopaXorzTaker, 2016# Good luck typing that in (or use the TI utility if you have a link cable).0->A1->B3->C1->D0->E0->F25->G0->KClrHomeOutput(1,2,"SCOREOutput(2,2,0Output(3,2,"LIVESOutput(4,2,3Output(7,9,"VRepeat K=45 or C<0 or A>=15000 or G<0If A!=EThenOutput(2,2," "Output(2,2,AEndIf C!=FThenOutput(4,2," "Output(4,2,CEndOutput(8,1,"................Output(8,B,"XA->EC->FgetKey->KIf K=105Then25->GIf B=9ThenA+100->AIf rand>.75A+150->AIf fPart (A/1000)=0ThenA+250->AC+1->COutput(2,7,"1 UP!For(I,1,50EndOutput(2,7," "Output(1,7,"1 UP!For(I,1,50EndOutput(1,7," "EndElseA-150->AC-1->COutput(5,2,"MISS!For(I,1,50EndOutput(5,2," "Output(6,2,"MISS!For(I,1,50EndOutput(6,2," "EndFor(I,1,10EndB+D->BIf B>16Then16->B0-D->DEndIf B<1Then1->B0-D->DEndG-1->GEndIf C<0 or G<0ThenOutput(7,1," "Output(8,1,"YOU LOSE! "PauseEndIf A>=15000ThenOutput(2,2,AOutput(7,1," "Output(8,1,"YOU WIN! "PauseEndClrHome
Is there any chance of the program or a screenshot? (IDK how possible such things for the 82 are...)Anyhow, i'd recommend leaving away the trailing quotes on your output lines, this way you save bytes!Also, any reason why there are so many spaces after "YOU LOSE!" and "YOU WIN!" ?
0->A1->B3->C1->D0->E0->F25->GClrHomeOutput(1,2,"SCOREOutput(2,2,0Output(3,2,"LIVESOutput(4,2,3Output(7,9,"V
Repeat K=45 or C<0 or A>15000 or G<0
If A!=EThen Output(2,2," " Output(2,2,AEndIf C!=FThen Output(4,2," " Output(4,2,CEnd
Output(8,1,"................Output(8,B,"XA->EC->F
getKey->KIf K=105Then
25->G
If B=9Then A+100->A
If rand>.75A+150->A
If fPart (A/1000)=0Then A+250->A C+1->C Output(2,7,"1 UP! For(I,1,50 End Output(2,7," " Output(1,7,"1 UP! For(I,1,50 End Output(1,7," "End
Else A-150->A C-1->C Output(5,2,"MISS! For(I,1,50 End Output(5,2," " Output(6,2,"MISS! For(I,1,50 Output(6,2," " EndEnd
For(I,1,10End
B+D->B
If B>16Then 16->B 0-D->DEnd
If B<1Then 1->B 0-D->DEnd
G-1->G
End
If C<0 or G<0Then Output(7,1," " Output(8,1,"YOU LOSE! " PauseEnd
If A>15000Then Output(2,2,A Output(7,1," " Output(8,1,"YOU WIN! " PauseEnd
ClrHome
dont forget the G-1->G or your program should end after 2 tries if you dont press key (at least I think so ^^)
As in the Str part, TI-82 does not support string manipulation