Posted on 2012-08-24 16:24:13

Word War VI for OSX

word war vi

I chanced upon Word War VI, and it made my day!

Are you familiar with the term "Editor Wars"? So if there ever was a long winding battle between Windows and OSX, iPhone and Adroid, and Firefox or Chrome, there's also such a thing called Editor Wars. It's just as heated, probably more so. And it involves two contenders. First is VI, the other is Emacs. Linux users, people who live in the shell, would know what I'm talking about and would probably love this game.

Word War VI is a side-scrolling jet-shooter with a twist. You play VI and you destroy the crapt left by emacs processes. I luurve it!

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
"""
In the beginning, there was ed.
Ed is the standard text editor.
Then there was vi, and it was good.
Then came emacs, and a dearth of RAM.
Your mission is to traverse core
memory and rid the host of emacs.
It will not be an easy mission, as
there are many emacs friendly
processes._
"""

The controls are very vi-like. You've got your hjkl to go around. z let's you shoot out laser beams. You have bombs, and a host of other weapons. And it's so retro!

word war vi help

Interesting Flags:

Render the game in more--just as retro--styles.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
--bw                Render in black and white.
--blueprint         Render in the style of a blueprint.
--brightsparks      Render sparks brighter than usual.
--fullscreen        Render the game in full screen mode.
--levelwarp n       Warp ahead n levels.
--retrogreen        Render in the manner of a vector display from the '70's.
--squareexplosions  Make explosions square rather than round.
--sounddevice n     Use the nth sound device for audio output.
--starmotion x      Set how starfield should move.  Possile values are:
                    astronomically-correct, wrong, wronger, and wrongest.
--thicklines        Render everything with thick lines.
--version           Print the version number and exit.
--width x           Render the game x pixels wide.
--xmas              Merry Christmas.

You should really check out --xmas.

Download Compiled for OSX

To run the game, you need to compile the code first. It was pretty easy doing that on a linux box. But on OSX, it's a little difficult. So I thought, I'd share the compiled version here. I had to follow instructions from this post, but not to the letter. It looks like the instructions are a little outdated, but still very helpful.

Download here. This was compiled on an iMac OSX 10.7.4 Intel Core i5 (if that matters).

After downloading, you'll have to run it from the terminal (but you know that already).

Hope you enjoy!

spideynick
2012-08-24 03:23:43.588740

holy vi!

stevec
2012-09-14 20:41:41.955770

Thanks for posting this. BTW, the arrow keys work as well as hjkl, and you can precede most keystrokes by a number (up to 6, iirc) to get multiples, e.g. "6b" drops six bombs. On linux, xbox 360 controllers work, and are probably the most fun way to play the game, and the rumble effect even works. Joystick support is done using linux's event system, so unfortunately I don't think it's a straightforward port to get such controllers working on Mac.

Current source code is currently hosted on github:

http://smcameron.github.com/wordwarvi/

(slightly older code is still on sourceforge). License is GPL v. 2.

-- steve