Code Monkey home page Code Monkey logo

tycon's Introduction

Typing Test + Console

Node.js console typing test. Easy, Med, & Hard Difficulties, Speed graph, Shortcuts
npmjs.com/package/tycon

tycon recording

Run From NPM

  1. Install NodeJS

  2. Install Tycon

$ sudo npm i tycon -g
  1. Run
$ tycon

Menu Options

  • Test Mode: basic, sentence
  • Test Length (seconds): 10, 30, 60, 120, 180

Additional Test Settings.. y/N

  • Difficulty (basic mode only): easy, med, hard
  • Require Correct Word (don't skip on incorrect): y/N
  • Colourblind Mode (blue/green): y/N
  • Randomly Capitalize First Letter (scales with difficulty): y/N

Features

  • Basic Mode: Randomly selected words from 3 difficulties.
  • Sentence Mode: Paragraphs from popular books, including capitalization and punctuation.
  • Restarting Test: ^R Is used to start/re-start a test. Can be used while test is running (will re-random sentence selection)
  • Word Deletion: Ctrl + Backspace is used to delete a typed word. Shift + Home is not supported, nor is Ctrl + W (for Unixers), though I'm considering it.
  • Speed Graph: Every 2 seconds, your average WPM (up to that point) is calculated
  • Custom Text: tycon -f </path/file.txt>

To-Do

  • Support custom word lists from file (validate format, and navigate directories to locate. launch flag -f and file path)
  • Support numbers (keypress just gives undefined for data)
  • % incorrect by each character, not just incorrect words, and backspaces
  • Display random typing tips
  • Add random punctuation mode (insert punctuation, and reformat text, like hyphens w/o space, caps after period, etc.)
  • Re-do intervaled avg to average in segments, instead of over progress of the test (so chart is more relevant)
  • Record local lifetime stats
  • Launch parameters to define settings
  • User config (settings) file support
  • Record time between all keypresses for consistency data, & display in graph

Text Excerpts

  • The Fellowship of the Ring, J.R.R Tolkein
  • Harry Potter and the Chamber of Secrets, J.K. Rowling
  • Anna Karenina, Leo Tolstoy
  • The Eye of the World, Robert Jordan
  • Animal Farm, George Orwell
  • The Hitchhiker's Guide to the Galaxy, Douglas Adams
  • The Name of the Wind, Patrick Rothfuss
  • Romeo and Juliet, William Shakespeare
  • Charlie and the Chocolate Factory, Roald Dahl
  • Kidnapped, Robert Louis Stevenson
  • The Secret Garden, Frances Hodgson Burnett

Bugs

  • No option to retain "file" mode, from launch, after entering sub-settings menu

Issues?

  1. Tycon not recognized command (Windows), when trying to launch
    Probably a path var issue with node. Add npm path to your environment variables & restart terminal. Link

More

website: nicfontaine.com
twitter: @ngpfontaine

License

Buy it, use it, break it, fix it, trash it, change it, mail, upgrade it. ;v

tycon's People

Contributors

nicfontaine avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

by-park

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.