/wpm-game

Words Per Minute typing speed test. Like Monkey Type

Primary LanguageJavaScriptMIT LicenseMIT

Word Per Minute (WPM) Typing Test Game

This is a simple typing test application that allows you to measure your typing speed in words per minute (WPM). The application fetches a list of 100 random words from a text file and presents them to you for typing. As you type, the words you enter will be compared to the expected words from the list, and your accuracy and typing speed will be calculated and displayed.

Features

  • Fetches a random list of 100 words from an external source.
  • Highlights the words you type according to their correctness.
  • Calculates and displays your typing speed in WPM based on your accuracy and time taken.

Getting Started

  1. Clone this repository to your local machine.
  2. Open the index.html file in a web browser.
  3. The typing test will start automatically. Begin typing in the search bar as soon as the test starts.

Usage

  1. As the test starts, the application will display a list of 100 random words for you to type.
  2. Begin typing the words in the search bar.
  3. Words you type correctly will turn green, while incorrect words will turn red.
  4. Your typing speed and accuracy will be calculated and displayed as you type.
  5. The test lasts for a fixed duration. When the time is up, your final score will be displayed.

Keyboard Shortcuts

  • Use the "Backspace" key to correct mistakes in your typing.

Note

  • This application is intended for practice and entertainment purposes and may not provide precise measurements of typing speed.
  • The list of words used in the test is fetched from an external source and may vary each time the application is run.
  • Starting and stopping is broken, I need to fix it. Restart the page to start again. I may fully rework the application.
  • note for me (fix by force reloading window)

Credits

  • The list of 1000 words used in this application is sourced from this GitHub Gist, and credit goes to its author.
  • Thank you @PPraneesh for fixing and rewriting basically all the code!

License

This project is licensed under the MIT License.