A nice game. I personally felt the speed was unbearbly low, but I figured out I could just lower the value of S in line 4 to make it faster. Basic is nice in that way!
Yes, good detective work with the silly single-letter variables! At least I used "S" like "speed" for this one ;) I was too tired to give the user an option to select the speed at start :p