Author Topic: Making A Typing Program  (Read 2115 times)

0 Members and 1 Guest are viewing this topic.

Offline Smasher816

  • HHKB Master
  • Thread Starter
  • Posts: 538
  • Location: return STATE_MISSOURI;
Making A Typing Program
« on: Tue, 14 October 2014, 03:37:03 »
Hey guys, a while ago I started making a small typing program as a hobby (and c+SDL programming challenge).

It was originally just a remake of TypeRite 2, an OOLLLDDD 16bit dos program my high school still used, which had many weird bugs like typing a backspace would output a square root and move the cursor to the next letter. Because it was made for dos the move to windows 7 64bit also broke compatibility so it has to be ran is dosbox or something similar. My program fixed those issues and added a few other little features. Although it looks like crap right now its using bitmap fonts, textures, etc under the hood so the art style could change a lot.

Over time it has evolved with more features. It's actually now being used at my dad's grade school, which is working well and providing me with some well needed criticism. Kids complained they would accidentally "press any key to continue" and lose the score screen - so now it has a short delay, and all results are stored in a database. Then I made a website to view the database results which was cool. Then I started adding in lots of random aggregation of the data I had collected including a WPM over time graph for the tests, a heatmap of the errors, trend of the WPM between tests, etc. Next on my todo list is some basic training exercises that help teach the different rows and force some % accuracy before moving on to the next lesson - with progress saved between states.

For now the actual tests are just using the TR2 passages which are outdated and pretty bland. I'v considered making the program call to the database and return some random content which would open up a lot of possibilities. If I did that where should I find content? I know TypeRacer uses real quotes which is cool and I believe they are all from older works which are now in the public domain. Can anyone confirm the legality of using those? (I found a website that collects all the TypeRacer passages and some statistics - http://www.seanwrona.com/typeracer/texts.php?texts=full&sort=passage)

Also, this program was designed for a school system (organizing info by tests->student->class), but there is nothing stopping an individual from using it. The only difficult part is getting a database running to keep track of all the test results and other data that is recorded. With that in mind, what features would you want to see in a typing program? Either cool things that other sites do well, or something new no one has thought of before. Looking at the first page of google hits it seems like I do everything the standard tests do and more right now, but I am sure there is more it can do. I look forward to some cool ideas from you guys.

If anyone is curious here are some photos of the website
More




I apologize if this looks like I giant wall of text. I just wanted to write this all out real quick before I went to bed so hopefully there would be some comments in the morning. Take care everyone.
« Last Edit: Tue, 14 October 2014, 03:45:22 by Smasher816 »

Offline Smasher816

  • HHKB Master
  • Thread Starter
  • Posts: 538
  • Location: return STATE_MISSOURI;
Re: Making A Typing Program
« Reply #1 on: Thu, 16 October 2014, 13:36:12 »
Bumpity bump.

Any comments on the legality of using the Typeracer passages, or suggestions for what you would like to see in a typing program?

Offline divito

  • Posts: 623
  • Location: Ontario, Canada
Re: Making A Typing Program
« Reply #2 on: Fri, 17 October 2014, 08:07:14 »
As far as I know, the passages come from songs, quotes, books, movies, etc... and they can be submitted by users as well. Since they're passages, I think copyright doesn't apply. On top of that, lyric websites exist, quote websites exist, etc...

For instance, Quotations Page uses this disclaimer:

More
All rights reserved. All quotations remain the intellectual property of their respective originators. We do not assert any claim of copyright for individual quotations. By quoting authors we do not in any way mean to imply their endorsement or approval of our site or its contents.

We do assert a claim of copyright for our compilations of quotations, their unique scope and style, our domains, QuotationsPage.com and TQpage.com, our site design, HTML, database design, look and feel, and back-end code. Some collections of quotations are compiled by other parties and remain their property.

Disclaimer: To the best of our knowledge, all quotations included here fall under the fair use or public domain guidelines of copyright law in the United States. If you believe that any quotation violates a copyright you hold or represent, we will immediately remove it upon notification pending good-faith resolution of any dispute.

This site and its contents are provided as is. We strive for accuracy but cannot be held responsible for any errors in quotations or incorrect attributions. Some quotations may include content considered inappropriate by some standards for some age groups. We take no responsibility for filtering content based on any standards of morality, religion, or politics.

Just because we quote someone doesn't mean that we approve of them or their ideas, or agree with their words.
Varmilo (MX Grey) KeyCool 87 (MX Clear) Quickfire Stealth (MX Green)

Offline yasuo

  • Posts: 978
  • Location: ID
  • spanengan puyeng newbie
Re: Making A Typing Program
« Reply #3 on: Fri, 17 October 2014, 08:16:09 »
i waiting the software for offline
you can make user's v PC  :D
Logitech MK220 Colemak DH
SplitSyml by Moz BlacksMx fuk blacks

2/3 8.5pm                                          in de la my september month ya da all get my fukka "fake message"

Offline HoffmanMyster

  • HOFF, smol MAN OF MYSTERY
  • * Senior Moderator
  • Posts: 11540
  • Location: WI
Re: Making A Typing Program
« Reply #4 on: Fri, 17 October 2014, 08:22:52 »
This is so cool!  Very impressive.   :thumb:

I do not have an answer to your question, but it seems that this is getting lost in Off Topic.  I think it belongs in either Making Stuff Together or Other Geeky Stuff.  Do you have a preference for which subforum it ends up in?  (or do you prefer it here?)

Offline ksm123

  • Posts: 105
  • Location: Poland
Re: Making A Typing Program
« Reply #5 on: Fri, 17 October 2014, 08:34:36 »
I will not make any comments on legality of using Typeracer quotes.

I would like to know whether you are going to share sources with community?
It would be nice to see new development in FOSS typing tutorials.

Offline dorkvader

  • Posts: 6289
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: Making A Typing Program
« Reply #6 on: Fri, 17 October 2014, 08:41:01 »
Bumpity bump.

Any comments on the legality of using the Typeracer passages, or suggestions for what you would like to see in a typing program?
I think if they are quotes you have a reasonable case for fair use: education. Same as how wikiquote does it. Otherwise, just make sure they are pre 1926 or whenever the disney limit is at and you should be fine even for longer passages.

I recommend translated french revolution speeches and american revolution speeches for some good content that's more challenging. Many older novels are like that as well. There are a ton of those novellas-published-in-magazines by people like maurice leblanc and Sir Arthur Conan Doyle.

Offline frosty

  • jukebox hero
  • Posts: 700
  • Location: Singapore
Re: Making A Typing Program
« Reply #7 on: Fri, 17 October 2014, 10:30:30 »
Completely unrelated, but would be cool to add like a polling rate checking feature, switch hitter etc...

Not sure whether it's possible or not, but a all-in-one keyboard app seems pretty cool to me :D

Offline Smasher816

  • HHKB Master
  • Thread Starter
  • Posts: 538
  • Location: return STATE_MISSOURI;
Re: Making A Typing Program
« Reply #8 on: Mon, 20 October 2014, 01:46:01 »
Thanks for the comments on the passages. I think I will go ahead and use those or some other similar source, and might switch them out later if I find something better.

If you happen to think of anything else that you think would be cool to see feel free to reply. The actual typing test is fairly simply but you can do a lot of fun stuff with the content and the reporting. Maybe even do something fun like the "Icarus Proudbottom Teaches Typing".

---

Regarding your question Hoffman - I'm not really sure where this should go. At first I just wanted a few quick questions and didn't plan to make it an ongoing build log, but if I do end up doing something like that then I would agree that butting it in "making stuff together" would be smart. For now I suppose "Other geeky stuff" would be an appropriate home. Either way I don't care too much, so whatever you think is right should be fine.