An ncurses-based Rubik's Cube timer written in C++
- g++
- ncurses
- sqlite3
- clone repo with
git clone https://github.com/plt3/PTimerTUI
- build and run program with
make run
- if only running
make
to build program, runmake depend
first to generate dependencies file
- if only running
- start timing with spacebar
- note that ncurses does not detect any key up event. Therefore you cannot hold down the spacebar and expect it to start timing when you release :(
- once timer is running, can stop it with any keystroke
- scroll through solves bar on left Vim-style with j/k or using arrow keys
- solves are lazy loaded from database so performance should not really be affected by amount of solves done
- toggle popup window containing information about selected solve in solves bar with Return key
- quit timer with q or ctrl + c
- use
--help
command line argument to output usage information
- delete selected solve with ctrl + d
- add/remove penalties for selected solve:
- remove penalty with ctrl + g (mnemonic: Good)
- mark solve as +2 with ctrl + p (mnemonic: Plus 2)
- mark solve as DNF with ctrl + n (mnemonic: did Not finish)
- create a new session or use an existing one by adding the
--session mysessionname
command line argument - delete a session with the
--delete-session mysessionname
command line argument - list all sessions with the
--list-sessions
command line argument - cycle forward through sessions with ctrl + f (mnemonic: Forward)
- cycle backwards through sessions with ctrl + b (mnemonic: Backward)
- session name is indicated above solves bar
- add penalties
- add timestamp to solves
- handle times > 1 minute
- show information on solve in solves bar
- add some sort of marker in UI of what session is active
- add keybind to switch sessions
- give more statistics/number of solves above solves bar
- allow for means instead of averages
- config file
- implement g/G?
- add time tint?
- display time with bigger numbers?
- add sessions?
- support other scramble types