Rubik's cube TUI timer in Rust π¦
You have to compile it yourself, but that shouldn't be a problem. Only thing
you need is cargo:
cargo build -r
After it's done compiling, you can start it in ./target/release/rstimer
You can start the timer like this (session picker will open):
./rstimer
Or you can skip the session picker by specifying the session:
./rstimer <session_name>
You can check other usage in help:
./rstimer -h
rsTimer contains sessions. You can create as many sessions as you want. Each sessions has its scramble type (currently only 2x2x2, 3x3x3 and 4x4x4 are supported).
When you run rsTimer with no arguments, the session picker will open and you
will see all created sessions. In order to time the solves, you need to select
a session. You can use the Up/Down arrow keys to scroll through the list and
press Enter to open currently selected session.
rsTimer currently supports scrambles for 2x2x2, 3x3x3 and 4x4x4 only. More scramble types will be added in the future.
Note: scrambles are not guaranteed to be WCA
When you run rsTimer and open a session, you can start timing your
solves. There's scramble on top, which is based on the set scramble type of the
session. To start the timer, you have to press a Space. When you're done, you
can press Space again to stop the timer. New scramble will be generated and
you will see your time.
On the left side of the timer there are listed previous solves. You can scroll
through them by using Up/Down arrow keys. You can also delete currently
selected time by pressing Del key.
You can also change the font of the timer (more fonts will be added later)
by pressing Left/Right arrow key. The set font is saved and used the next
time you use the timer.
To display more detailed stats, you can press Tab key. It then shows more
details about currently selected solve, such as scramble, date and time
and number of the solve. More details might be added in the future.
Esc/q: closes rsTimer
s: switches to the session picker
This was my first project in Rust π¦, but since then I've refactored the code quite a bit.
Some of the libraries I used:
- Author: Martan03
- GitHub repository: rsTimer
- Author website: martan03.github.io