everyone counts wpm as cpm/5 CRINGE
This commit is contained in:
parent
e7b02d453d
commit
cd2bb06713
2 changed files with 4 additions and 3 deletions
|
@ -56,7 +56,7 @@ class Stats:
|
|||
|
||||
@property
|
||||
def wpm(self):
|
||||
return self.correct_words / self.total_minutes
|
||||
return self.cpm / 5
|
||||
|
||||
@property
|
||||
def cpm(self):
|
||||
|
@ -64,7 +64,7 @@ class Stats:
|
|||
|
||||
@property
|
||||
def raw_wpm(self):
|
||||
return self.total_words / self.total_minutes
|
||||
return self.raw_cpm / 5
|
||||
|
||||
@property
|
||||
def raw_cpm(self):
|
||||
|
|
3
setup.py
3
setup.py
|
@ -5,7 +5,8 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||
|
||||
setup(
|
||||
name="fasttyper-pkg-ickyicky",
|
||||
version="0.0.3",
|
||||
version="0.1",
|
||||
:xa
|
||||
author="Piotr Domanski",
|
||||
author_email="pi.domanski@gmail.com",
|
||||
description="Minimalistic typing exercise",
|
||||
|
|
Loading…
Reference in a new issue