- A bad MonkeyType (or any generic WPM typing tester app) clone build exclusively using Python's built-in
curses
wrapper. - Work in progress.
- Just for fun & learning about ncurses
- Python > 3.7
- It's built-in and no external dependencies are required.
So far it's just:
$ chmod +x cursestype.py
./cursestype.py czech
Note: curses
is not supported in Windows cmd.exe
, use Windows Subsystem for Linux.
- Only supports Latin alphabet languages
-
keep a dictionary of currently OK chars
-
don't let user go back a word if he commits it (space) like MonkeyType doesn't (Confidence mode?)
-
if a user backspaces a green thing (a CORRECT char), make it gray again
-
Multiline w.move()s - SOME work done
- refactor this, need to be able to go back to previous line
- refactor this, needs to be dynamic!
- how about it uses the "keep a dictionary of currently OK chars" to rebuild?
- with of course, also proper w.move()
- with dynamic i also mean maybe CONSIDER: Do it like monkeytype where two lines are visible, then third, but the active one after finishing the 1st one is ALWAYS the 2nd one and they scroll up (this is true for timed, for set ones the last line is obviously finished as well on screen)
-
newlines only as text wrapping
-
don't count newlines as a character
-
Menu to change language file etc.
-
Let user specify a text file to load to type OR just generate words from language files that user selects
-
Languages other than ANSI english
-
Reafctor language files system
-
Command line parameters
-
Timed gamemode (15s/30s/45s/60s)
-
Record & replay the run (and save replays?)
-
Put the text into seperate curses window!!!!
- Stop refreshing the whole win (
w
) to get rid of flashes(?)
- Stop refreshing the whole win (