You can't do much to optimize this one. All that I've changed in the version I made is that I use DrawF to draw the line, moved some of the stuff to allow for a loop instead of lbl/gotos, and gotten rid of that menu at the end. Seriously, if you want to play it again, you can just press enter once it quits.
Edit: here's my code.