2: I made a new getkey program with the idea, except that I realized something. because the calculator considers X.Y to be outside the screen when X=94 and Y is nonzero with a boundary of X<94, the last row will never be displayed with the optimized Pt-on(A,fpart(A. It must be Pt-on(ipart(A),fpart(A for it to work correctly on the outer boundary. Thus, it is of no use to add the extra zero on the screen dimensions for the Y coordinate.
you are correct, never releazed that
how about a window setting of 0,-.062?
also, if you ignore the last pixel (that is rarely used in most games, except for line( commands)
the routine can be smaller
GridOff
AxesOff
FnOff
PlotsOff
0→Xmin
1→ΔX
0→Ymin
1%→ΔY or .62→Ymax
DelVar AClrDraw
Repeat 0
getKey→G
fpart(A
Line(A,Ans,A,Ans,not(G
A+(G=26 and B<94)-(G=24 and B)+(% or .01, whichever works)(G=25 and Ans<.62)-(G=34 and Ans→A
End
5 less bytes
if you gime me a few days, i will make 2 snake games and compare the speed
edit: notice you are not using ans, which is the major factor in its speed