Coder Social home page Coder Social logo

typoitory's Introduction

Typoitory a writing speed test.

Typoiotry is a command line application that helps you track and improve your typing speed. Unlike many typing speed programs Typoitory utilizes a real list of words. Which means that you are testing your typing speed with real words, not just using 300 most common words.

Requairments

The program was tested and written in a linux environment and compiled using Clang. I don't know if you can run it somewhere else. If you end up using some other compiler other than Clang make sure to change the syntax accordingly.

To run this you need:

  • CLI (command line interface)
  • C compiler (like clang)

Setup

To run the application open the terminal, cd to the directory and giving you use clang on linux, run:

clang typoitory.c -o typoitory

If don't have clang here is a guide: https://clang.llvm.org/get_started.html

typoitory.c is the source code.

typoitory will be the executable that you will be turn.

Usage

When you run the program ./typoitory, you will be prompted to input words. It worth mentioning that the more words you have the more correct it will be. 20 or 30 is fair amount.

After you choose the amount of words, input the exact words that are showing on the screen. Every character has to be exactly equal to the prompted word.

At the end, when you typed all the words, you will see the results.

Improvements

There are many improvements which can be made. Here are some of them:

  • If the input is over 50 chars, the program will result in a segmentation fault (it will crash).
  • There is no timeout for inactivity, if the user goes away from screen the timer will continue on counting.

The program is simple but for a reason. Its purpose other than improving my typing speed, is to give a general overview of how a low level language works. Nothing is implemented for you, instead you have to implement everything on your own. There are no pre-built sorting, search algorithms. FOR loops and IF statements are your only option.

Credit

The words in the dictionary file are from this repo

typoitory's People

Contributors

hamza512b avatar

Watchers

 avatar

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.