[1] Installation
[2] Usage
[3] License
- Install Python 3.6 or higher
- Create virtual environment and activate it
- Install requirements.txt
- Run
python main.py
- use
py -m venv env
to create virtual environment - use
source ./env/Scripts/activate
to activate virtual environment - use
deactivate
to deactivate virtual environment
- use
python3 -m venv env
to create virtual environment - use
source ./env/bin/activate
to activate virtual environment - use
deactivate
to deactivate virtual environment
which python
should show the path to the virtual environmentpython --version
should show the version of the virtual environmentpip list
should show the packages installed in the virtual environment
- use
pip install -r requirements.txt
to install all requirements
- Run
python main.py
to start the application - If you want to build an executable file, run
py -m eel main.py web --onefile --noconsole --icon=./web/favicon.ico
- executable file will be in the
dist
folder
- First time you start the application, application will create a
user.json
andleaderboard.json
file to store user data and leaderboard data - If you want to reset the application, delete the
user.json
andleaderboard.json
file and restart the application
This is a game that tells your typing speed and accuracy. There is also a leaderboard to compete with your friends who is faster.
- Game starts when you press any key on your keyboard
Check an input element is focused
- Game ends when you finish the text
- Game will show your typing speed in
WPM
(words per minute) andAccuracy
(percentage of correct characters)
- You can view your leaderboard in navigation bar on leaderboard menu
- You can view your statistics in navigation bar on history menu
- Enter your name in the box and press save before typing. Your name will be on the leaderboard after typing.
- Game reset when you press
Esc
key or click onReset
button - You can choose between 4 different game modes [
Short
,Medium
,Long
,Thicc
] - You can restart quotes by pressing Restart button.