/typeracer-cli

Learn how to touch type from the comfort of your terminal and challenge your friends for a match.

Primary LanguageJavaScriptMIT LicenseMIT

Typing practice from your terminal and features like practice mode and online competition mode.

Installation

run npm i --global typeracer-cli from your command line

Usage

run typerace -h to its usage

Output

Usage: typerace [options] [command]

  Options:

    -h, --help          output usage information

  Commands:

    practice|p          Start typeracer
    online|o [options]  Start game in online mode

Commands

Practice mode

  • typerace p to start practice mode.

Preview of practice mode

practice

Online mode

Prevew of online mode

online

  • typerace o -f to start online mode which will prompt a question

Are you starting server for race (y/N) ?

Now 2 cases are there

  • If yes

    • You will share Room to join for race, Number of racers, Number(sort of password)
    • All the above will be prompted if you select yes and all of your friends should fill them out same.
  • If no

    • Ask for Room to join for race, Number of racers, Number(sort of password) from your friend who created a private room to race.

Enjoy 🔥