Is your feature request related to a problem? Please describe.
The results screen only displays the typing speed (WPM) but misses another crucial typing metric: accuracy. Knowing how fast you type is irrelevant if the typed output contains many mistakes.
Describe the solution you'd like
Add an accuracy calculation inside the check_result() method. It should compare the typed_text with the self.current_sentence, identify how many characters were typed exactly right in their proper position, and divide it by the total number of characters in the target sentence (or typed text). Display it as a percentage alongside the speed limit on the self.result_label (e.g., "Typing Speed: 60 WPM | Accuracy: 95%").
Is your feature request related to a problem? Please describe.
The results screen only displays the typing speed (WPM) but misses another crucial typing metric: accuracy. Knowing how fast you type is irrelevant if the typed output contains many mistakes.
Describe the solution you'd like
Add an accuracy calculation inside the
check_result()method. It should compare thetyped_textwith theself.current_sentence, identify how many characters were typed exactly right in their proper position, and divide it by the total number of characters in the target sentence (or typed text). Display it as a percentage alongside the speed limit on theself.result_label(e.g., "Typing Speed: 60 WPM | Accuracy: 95%").