|
|
 | | From: | Klaus Horsten | | Subject: | [vim] How about writing a game? | | Date: | 17 Jan 2005 00:41:45 -0800 |
|
|
 | Hallo,
how about writing a game?
A word-mixer or character scrambler ... (?)
There are many people out there who are very good in regex.
It would be possible to write the following game with regex.
It concerns reading. Reading a text we do not need to have the characters in the right order. Only the first and last character have to be right. We understand the text altough each word - except the boundaries - is a chaos.
Example:
Do you understand this text?
"Vim voetd best txet etdoir aaign.
The Lnuix Joaurnl mnizgaae deos a Rdeares' Choice Aarwd ervey year. For the fturoh time in a row Vim was sceteled the fativore txet eidotr! Vi and colnes cmae socend, GNU Emacs tihrd. You can read this and the resutls in other ctrgoeieas in the perss raeslee. (Barm Maaneoolr)"
I think yes.
In nearly every word the row of characters is different from the normal usage. Only the first and last character is in the right place. And we still understand the text.
Here is the original:
"Vim voted best text editor again.
The Linux Journal magazine does a Readers' Choice Award every year. For the fourth time in a row Vim was selected the favorite text editor! Vi and clones came second, GNU Emacs third. You can read this and the results in other categories in the press release. (Bram Moolenaar)"
Have a look at
http://www.werstler.de/zwirbler.html http://www.gemeindebuecherei-forst.de/wortmixer.html http://www.andys-papercraft.de/texttwirbler.htm
Maybe someone wants to write this game. For psychological experimentation, fun ...
I am not good enough in regex. But it could be possible.
Regards,
Klaus
|
|
 | | From: | Sven Guckes | | Subject: | Re: [vim] How about writing a game? | | Date: | 17 Jan 2005 21:11:13 GMT |
|
|
 | * Klaus Horsten [2005-01-17]: > how about writing a game? > A word-mixer or character scrambler ... (?) > [...] > Maybe someone wants to write this game. > For psychological experimentation, fun ... > I am not good enough in regex. But it could be possible.
what's that to do with vim?
my point: "%!program" suffices.
Sven
|
|
|