I'm making a flappy bird game on my TI-84+ CE. However, it runs at around 3 frames per second and I was looking for some optimization help (mainly with rendering the pipes, because that is what takes the most time). As of now, inside the game loop I have:

Line (X+U,100,X+U,A+15,0)

Line (X+U,A-15,X+U,0,0)

Line (X+V,100,X+V,A+15,0)

Line (X+V,A-15,X+V,0,0)

Line (X+W,100,X+W,A+15,0)

Line (X+W,A-15,X+W,0,0)

…stuff not related to the pipe rendering…

X-1—>X

Line (X+U,100,X+U,A+15,1,GREEN,2)

Line (X+U,A-15,X+U,0,1,GREEN,2)

Line (X+V,100,X+V,A+15,1,GREEN,2)

Line (X+V,A-15,X+V,0,1,GREEN,2)

Line (X+W,100,X+W,A+15,1,GREEN,2)

Line (X+W,A-15,X+W,0,1,GREEN,2)

That's basically the gist of it. A, B, and C are random numbers that determine where the space is going to be. Each of them corresponds to a pipe. The window size is Xmin=0 Xmax=200 Ymin=0 Ymax=100. X starts at 200 and U, V, and W start as 0, 70, and 140. I have yet to do collision detection. But I really need optimization.

EDIT: I've gotten the file on my computer, but don't know how to get it into this post. Can someone help me with that?