check this out. i took phil killewalds frogger changed a few things and optimized it and now it is less than 620 memory and runs a lot faster check out the code below.
Code:
and i am sure even that could use more optimizing than what i did.
Code:
:Menu("FROGGER","START",S,"QUIT",Q
:Lbl Q
:ClrHome
:Pause "BYE
:ClrHome
:Output(1,1,"
:Stop
:Lbl S
:ClrHome
:‾1→S
:Lbl 1
:ClrHome
:S+1→S
:8→A
:A→B
:randInt(3,14→C
:randInt(3,14→D
:randInt(3,14→E
:randInt(3,14→F
:randInt(3,14→G
:randInt(3,14→H
:While 1
:getKey→K
:If max(K=24,25,26,34
:Output(A,B,"
:Output(2,C+1,"
:Output(3,D+1,"
:Output(4,E+1,"
:Output(5,F+1,"
:Output(6,G+1,"
:Output(7,H+1,"
:Output(1,1,"
:Output(2,1,"
:Output(3,1,"
:Output(4,1,"
:Output(5,1,"
:Output(6,1,"
:Output(7,1,"
:A-(K=25)(A>1)+(K=34)(A<8→A
:B-(K=24)(B>3)+(K=26)(B<14)→B
:Output(A,B,"^
:Output(2,C,"<
:Output(3,D,"<
:Output(4,E,"<
:Output(5,F,"<
:Output(6,G,"<
:Output(7,H,"<
:C-1→C
:D-1→D
:E-1→E
:F-1→F
:G-1→G
:H-1→H
:If not(C
:14→C
:If not(D
:14→D
:If not(E
:14→E
:If not(F
:14→F
:If not(G
:14→G
:If not(H
:14→H
:If A=2 and B=C or A=3 and B=D or A=4 and B=E or A=5 and B=F or A=6 and B=G or A=7 and B=H:Goto 2
:If A=1
:Goto 1
:End
:Lbl 2
:ClrHome
:Disp "SCORE:",S
:Pause
:ClrHome
:Output(1,1,"
:DelVar ADelVar BDelVar CDelVar DDelVar EDelVar FDelVar GDelVar HDelVar KDelVar S
and i am sure even that could use more optimizing than what i did.