pyBegin / projects / speed-type-test
⌨️

Speed Typing Test

A typing speed test built with Pygame. A random sentence is displayed; type it as fast and accurately as you can, and the app reports your time, ac…

175 lines🖥 Desktop only

Speed Typing Test

A typing speed test built with Pygame. A random sentence is displayed; type it as fast and accurately as you can, and the app reports your time, accuracy percentage, and words per minute.

Example

  1. Run the script. A 950×500 Pygame window titled "Type Speed test" opens showing a randomly chosen sentence near the center.

  2. Click inside the yellow input box to activate it, then start typing the sentence. The timer begins on the first click.

  3. Press Enter when finished. The results line is displayed in red, for example:

    Time:18 secs Accuracy:94% Wpm: 52

  4. Click the "Reset" area to load a new sentence and try again.

How to run on localhost

pip install pygame
python "Speed Typing Test Python/speed typing.py"

Dependencies

pygame