This project is a Typing Speed Test application built using Python and the Tkinter library. It generates random sentences for users to type and measures typing speed, accuracy, and error count over a 60-second period.
- Random Text Generation: The app generates random sentences from a pool of names, verbs, and nouns to give users a unique typing challenge each time.
- Real-time Typing Metrics: While the user types, the application calculates:
- Typing speed in Words Per Minute (WPM)
- Accuracy based on correctly typed characters
- Number of Errors made during typing
- Countdown Timer: The app gives users 60 seconds to type as much as they can. The timer is displayed and turns red when the time drops below 10 seconds.
- Dynamic Text Updates: As the user types, the text dynamically updates, removing typed characters and displaying the next one to be typed.
- Completion Message: When the user completes the text or the time runs out, a congratulatory or time-up message is displayed.
The start screen includes a button that initiates the typing test. The background and design provide a clean and easy-to-navigate user experience.
Once the test starts, users see the typing area, real-time statistics, and a reset button to restart the test.
- Timer: Displays the remaining time in seconds.
- Text to Type: A random text is generated, which users need to type as fast and as accurately as possible.
- Errors: Displays the total number of errors made.
- Accuracy: Shows the typing accuracy as a percentage.
- WPM: Displays the typing speed in words per minute.
The application includes buttons to start and reset the test.
- Start the Test: Click the "Start" button on the main screen.
- Type the Given Text: Type the randomly generated text as fast and accurately as possible.
- View Results: Monitor your typing speed, accuracy, and error count in real time.
- Reset: Click the "Reset" button to start a new test with a fresh set of sentences.
- Clone the repository:
git clone https://github.com/your-repo/typing-speed-test.git
- Install the required libraries:
pip install tkinter
- Run the application:
python typing_speed_test.py
- Python 3.x
- Tkinter Library (included with most Python installations)
- Improve sentence complexity by adding more words and structures.
- Add a leaderboard feature to track users’ high scores.
- Provide more visual feedback during the test, such as highlighting errors in real-time.
This project is licensed under the GPL 3.0 License.