Skip to content

anan139/typing_test

Repository files navigation

⌨️ Typing Speed Test (using SFML)

A simple, interactive typing speed test application built with C++ and SFML. This project allows users to test their typing speed and accuracy against a collection of random passages. It provides instant color-coded feedback as well.

✨ Features

  • Random Passages: Practice with a variety of randomized passage; lyrics from EDM😅
  • Real-time Metrics: Measures typing speed (Words Per Minute - WPM) and accuracy dynamically as you type.
  • Instant Visual Feedback:
    • Green for correctly typed characters.
    • Red for errors or mistyped characters.
  • Performance Summary: Get a detailed breakdown of your WPM and accuracy at the end of each test, along with personalized feedback.
  • Clean UI: A straightforward user interface for convinience :)

🚀 Technologies Used

  • C++: The core programming language for the application logic.
  • SFML (Simple and Fast Multimedia Library): Used for all graphical rendering (window, text, shapes, colors), input handling (keyboard, mouse), and basic time management.

📸 Screenshots

Here are a few glimpses of the Typing Speed Test in action:

Initial Screen 1

Typing in Progress (with error feedback) 2

Test Results Screen 3

🛠️ How to Build and Run

This project requires the SFML library.

Prerequisites

  • A C++ compiler (e.g., g++, Clang, MSVC)
  • SFML Library (version 2.5.1 or newer recommended):

Clone the repository:

git clone [https://github.com/YourUsername/your-repo-name.git](https://github.com/YourUsername/your-repo-name.git)
cd your-repo-name

About

Simple typing speed and accuracy test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages