luismeyer95 / dacttylo

A terminal-based application to practice typing code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dacttylo

A terminal-based application to practice typing code.

Quick Start

Prerequisites

You should install the Rust toolchain to build the project. See https://www.rust-lang.org/tools/install.

Installation

cargo install --path .

This will build and install the binary at $HOME/.cargo/bin.

Usage

Navigate the CLI options with these two commands:

dacttylo --help
dacttylo help <subcommand>

Practice Mode

Normal practice session

dacttylo practice -f <filepath>

Record your inputs during this session with the save option -s, --save. There can only be one input record at any one time for a given file.

  • best will keep the fastest time input record between a potentially existing record for this practice file and the input record for this next session.
  • override will do exactly that, override any existing input record for this file with the input record of this next session.
dacttylo practice -f <filepath> -s best

Why record your inputs at all? To race against your past self on your next sessions. Provide the -g, --ghost option to try loading an existing input record for the file and start racing.

dacttylo practice -f <filepath> -g

LAN Multiplayer Mode

Race against other people on the same local network using the host and join subcommands.

dacttylo host -u user1 -f README.md
dacttylo join user1 -u user2

About

A terminal-based application to practice typing code.

License:MIT License


Languages

Language:Rust 99.9%Language:C 0.1%