I made this funny speed typing test only for fun today. As it says in the program, it is not exact because it calculates the time after each time you press Enter after each sentence. So the results are around that amount. It's too bad there's no way to make a program in BASIC that can stop a person typing a question from INPUT on a certain time, besides not using INPUT and using INKEY$. But using INKEY$ would have been a bit more difficult for me to figure out, especially when I have to make sure each sentence is typed correctly. I know there's a way, but like I said, I made this just for fun. :) It has enough sentences to type for even the world record holder of 212 words per minute. And there's a theme to it all, going to the zoo. lol Enjoy.
begin:
PRINT " Speed Typing Test" PRINT " This program will calculate how many words a minute you can type." PRINT " This is not a professional test, only just for fun so do not use" PRINT " this outcome on any college, job form or professional application." PRINT " I will put sentences on the screen and you will type them out the" PRINT " same way they are displayed. Press Enter after each sentence." PRINT " You must type them all correctly or you will have to type it again." PRINT " This program calculates time after you have pressed the Enter key for" PRINT " each sentence, so it will not stop at exactly 60 seconds, only after" PRINT " 60 seconds have been calculated. Then it will display your results." INPUT " Press Enter to start.", st$
start:
seconds = s - starttime
again:
done:
PRINT "Your score is around: "; amount;
" words per minute!" PRINT "Thank you for playing." zoo:
DATA "The cat jumped off the tree.",6 DATA "The zookeeper cleaned the lion's cage.",12 DATA "The giraffe walked up to the tree and ate the leaves.",23 DATA "The horse quit running around the track.",30 DATA "We took a photograph of the yellow bird.",38 DATA "Violet and Sally fed the elephant.",44 DATA "The rhinoceros looked dangerous.",48 DATA "Fifteen dogs chased two cats around the park.",56 DATA "The popcorn cost $1.53 plus tax.",62 DATA "The #1 attraction was the giant gorilla.",69 DATA "10% of the money went to saving the dolphins.",78 DATA "The aquarium had 100's of different fish.",85 DATA "There was the goldfish and the guppy and the discus and the koi.",99 DATA "They also had a butterfly exhibit with a set temperature.",109 DATA "There was also the funny looking fake unicorn.",117 DATA "An employee walked around in a Tarzan outfit saying he was King of the Jungle.",132 DATA "We drank soda that day and even got ice cream cones.",143 DATA "There were sure a lot of people there and but it wasn't too crowded.",157 DATA "We heard about the zoo from an airplane overhead that carried a giant banner.",171 DATA "It was located fifty-five miles from my house in a different city.",184 DATA "Maybe someday we will go to Australia to see kangaroos and koala bears.",197 DATA "The weather that day felt fantastic and sunny outside.",206 DATA "If you typed all of this correctly then you beat the world record of 212 wpm!",222