Regex Of The Dead – Shoot Zombies By Your Regular Expressions

Hatena user id:aike released a quite geeky parody of The Typing of the Dead. The Typing of the Dead, arcade zombie shooting game by typing keyboard fast was already geeky, but on this new browser game, you hit zombies by typing regular expressions.

The zombies have own names. When you type a regular expression on the text box, the zombies with the matched name are damaged. To hit more zombies in single action, you need to find the common regular expression of them.

If you type the widely matched regular expressions like “.*”, all zombies can be repelled easily, however, too simple/short expressions would eliminate human beings, whose names are showed in green letters.

id:aike explained how he made it [J]. The JavaScript is only with 370 lines.

The following two tabs change content below.
@akky is one of the first Japanese pro-bloggers [J]. He also leads Asiajin, writes a tech column on The Japan Times, consults for some foreign companies interested in Japanese web market. (please inquire to akimoto on gmail.com).

Published by

Akky Akimoto

@akky is one of the first Japanese pro-bloggers [J]. He also leads Asiajin, writes a tech column on The Japan Times, consults for some foreign companies interested in Japanese web market. (please inquire to akimoto on gmail.com).