a typing game in emacs


Some more addition to my previous reply.

Typing speed is measure in wpm (word per minute). However, among the many (tens if not hundreds of typing tutorial software or several typing tests devised), their scoring does not agree. For example, today if i go to a typing tutorial/score website, and some will give my score as 80 wpm while others will go over 100.

About my typing speed... one place where i stated about my typing speed (among other pages on my site and newsgroup posts) is here:

Xah's Emacs Tutorial: About The Author

In the early 1990s, i went to a temp agency to look for a job for data entry or secretary. Typically, they give you a test of typing using type writers, among other highschool level basic tests such as english proficiency. The 85 wmp or so is the score given there among 2 or more agencies.

Now that was when i was using qwerty. Since 1993 i switched to dvorak, and by then i stopped working as a secretary.

Since my switch to dvorak in ~1993, i haven't done heavy data entry as when i was a secretary, and my dvorak speed never actually picked up to qwerty for many years. In 2006 or so, out of curiosity while chatting in irc, i did one few of those typing websites and my score is 80, 90, or over 100.

convenient Wikipedia link:

> I hope you find a text editor and a mail list that you are happy with
> some day.

I'm quite happy with emacs, and as for happiness with mailing list, it depends on what context or perspective. For example, i've been happy with, say, moderated math history mailing list or Mathematica programing mailing list in the past. As for newsgroups... it doesn't make much sense to say whether one is happy with it. You could say i'm quite happy with, say, gnu.emacs.help. Do i get helpful answers from it? Absolutely. Do i find typical tech geekers discussions on philosophical arguments very stupid? Yes. Do i enjoy using the group in general? Yes.

i think the reason tech geekers tends to think or express that i don't like emacs is beacuse th

∑ http://xahlee.org/

On Sep 22, 9:58 am, Sean Sieger wrote:
> ...


You want to compare typing speed? This we can actually carry out online. One way, is to go to a public irc such as freenode's, then there are a lot public websites that score your typing speed. So, we meet in irc, agree before hand what nick name to use for the typing websites, then in real time each of us go type and get the score, then we can compare the score.

Sure, it's not a complete fool proof way to compete typing speed, but it's fairly practical.

You want to see my typing speed (counting accuracy) beat the hell of ya ass? Let's meet in irc. Let me offer you the address: irc.freenode.net, channel #elisp or channel #xahlee. You can arrange a time n i'll be there.

One time, i challenged a lisp coder aka campbell(sp?) on irc. (the author of emacs's paren edit mode, real name Taylor something i think (too lazy to check)) He's score actually beat me by some margin and i was shocked ... kinda hard to believe. I'll have to sit face to face to believe for sure, but for now i'll say he beat me. (and he purportedly is using qwerty on a laptop. (while i'm on a full Microsoft ergo keyboard and dvorak))

Similarly, lots of tech geeking fuckheads brag all day and night about command line, ratpoison, and shit. I tell you, my computer operating efficiency beats all of you. Seriously. All we need to test this is to device some way to score computer operation... switching between apps, browsers, carried out some tasks like saving images, write notes, ... though a good standard test would be hard to come by ...

which lead me to another point: emacs operating efficiency. In many of my emacs discussions on modernization and ways of operation induced by UI, all tech geekers brag about how emacs way is efficient. I openly challenge anyone, that:

1. Emacs default ways of operation is not necessary more efficient (with regards to speed of carrying it out) when compared to modern UI such as AquaMacs.

2. If you are accustomed with my ergonomic keybinding, i bet that using it is far more faster than emacs default keybindings.

It is actually not very difficult to verify the above. All we need is a standard set of text manipulation tasks. Such a task set is not too difficult to design. For example, just off the top of my brain now.... you can start with 2 text files, and these two files should become 5 more files, with instructions on which text must go where... etc. The task set, ideally, will involve most things you do in emacs daily, such as searching source code, refactoring, getting info from the web and put them back in somewhere, etc. If one is serious, you could spend a week and come up with this task set.

In this way, we could actually have a emacs operating tournament with prize money. Competitors may require to pay say $10 for registration. FSF could conceivably host it.

In such a tournament... we can see who can really operate emacs faster or with better knowledge of using emacs. But this would be boring. It would be more fun, to see if a team of emacsers using the default emacs UI vs a team using modern UI such as AquaMacs or emacsW32, or a team using traditional emacs UI but with my ergonomic keybindings.

... in the past year i've had thought of writing a game in elisp. You know how you have typing games, where letters or words falls from sky and you have to type them fast before they hit the ground. In a similar way, my Emacs Operation game, a window might be split into 2 panes (emacs speak: frames in 2 windows), where one is user area and the other is the example area, where the example area contains a example text with instruction on what final result should be like, and the user types in his pane to create identical text in the example area, using all emacs commands to carry out the task. This game will be timed and keep score, based on correctness and speed, and can have levels, from tasks requiring basic operation such as cut, copy, paste, paste previous, kill-line, undo, kill-word, kill-word-backward, isearch, to more advance that are done with say using keyboard macros, using narrow-to-region, regex replace, isearch, rectangle, registers, switching mode, switching or listing buffers, deleting buffers, using dired, nav info, and perhaps at the boss level will require to write simple elisp command on the spot for the best score.

in the above, the game is a real time based game. That is, the clock is ticking and your score depends on speed. In another twist, the game can be made into a flash-card quiz or knowledge testing based, where each question asks you to do something and you have to carried it out in order to pass, without a time limit. You might be able to ask hint.


... besides my daydreaming, in reality i dont think i'll ever write such a game in elisp consider that the task is rather daunting and the result is comparatively not worthwhile for me. The time spend in elisp for this i'd rather spend say, to learn coding games with a 3D engine.


∑ http://xahlee.org/

No comments:

Post a Comment