Samyak2 / toipe

yet another typing test, but crab flavoured
MIT License
574 stars 31 forks source link

Add support for phrases and code #34

Open Samyak2 opened 2 years ago

Samyak2 commented 2 years ago

What?

Currently, toipe selects random words from a list of words. This is fine if you want to measure an ideal speed without punctuation, proper language, etc. (Note: some people are slower when typing random words compared to actual phrases while others are not. I'm in the latter group).

It would be nice to allow complete phrases, perhaps out of a book, to be type tested against. This will require a much different "word list" and selection algorithm than the one that is present.

An extension to this idea is to allow type tests against code or programs. This will have additional nuances like keeping indentation.

Why?

There were several requests on reddit:

aindriu80 commented 2 years ago

Adding coding support for the different programming languages would be great