Side-scrolling shoot 'em up '80s style arcade game
Word War vi is your basic side-scrolling shoot 'em up '80s style arcade game. You pilot your "vi"per craft through core memory, rescuing lost .swp files, avoiding OS defenses, and wiping out those memory hogging emacs processes. When all the lost .swp files are rescued, head for the socket which will take you to the next node in the cluster.
It's licensed under the good old GPL v. 2.0, except for the audio files, which are licensed under a couple different Creative Commons licenses.
License: free
Requirements: gtk20, glib20, portaudio v19, libvorbis
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | no | yes |
Submitted by AMDmi3 on 2008-03-06.

-Baked Noodle
I'll try to work on making the controls a little better, though, if you have specific recommendations, it might help. Part of the problem is this program is getting to be a bit cpu intensive -- though this may depend more on your particular video board's interaction with X than anything else.
I have added joystick support, and tried it with a logitech dual action rumble, but I'm not sure this game is well suited for joystick control. At least as I have programmed it, it seems not, but I'm not sure how to improve that.
As for the program being all in one file -- yeah, I'm aware that programs are usually split into smaller files, I've been a professional programmer since 1987 or so. Thing is, most of this code was written during 2 weeks last year, with another spurt of code just recently, with only me working on it, just typing in the code as the ideas come to mind. With just one person, it's actually easier with just one big file -- no switching between files, and just use "/" to search for whatever you're looking for, and it's only about 7000 lines, so it's really still just a small program. Granted, for people who didn't write the code, one big file pretty much sucks. But, seeing how writing the code is the fun part for me, and I'm doing this strictly for the amusement of it, I have done what makes it the most fun for me -- which so far has been to keep it mostly in one big file.
Anyway, hope you like it. I'll try to keep improving it so long as that process remains a source of amusement for me.
May take a half-hour or so for the CVS commit to propogate to the anonymously accessible servers.
Also, I improved the joystick controls somewhat, but they still aren't great.
Esp. with the joystick... chaff is unnecessary.
It's weird. With the joystick, it is a completely different game. Not better or worse, necessarlily, just different. With the joystick, it is clear though, chaff is utterly superfluous... it is too easy to outmaneuver the missiles -- why use chaff?
With the keyboard though... manuevering is not as easy. Not sure what I can do about this. Was digging around in the gtk and gdk header files, and I don't see a way to get key-down and key-up events, like I was expecting... so there is a translation layer between me and the hardware, which delivers these "keypresses", which are at the mercy of the key repeat rate, and delay before the repeat starts, etc. Unless I miss something.
About the "annihilation...", you do realize, refueling helps, right? You cannot avoid being hit sometimes, but so long as you refuel now and then, and don't get hit *too* much, you can kind of proceed. In the video on my website, at that time, you refueled by bombing the fuel tanks (this scheme, of somehow refueling by bombing fuel tanks is idiotic, I know, but I was in a hurry, and it is somewhat common (thought I've always hated it) and can make for good game play -- nobody wants to sit around in a realistic refueling situation waiting for fuel to flow) Anyway... in the CVS code, you hover over the fuel tanks and suck the fuel out of them with a kind of siphon. The latest code does have a "sitting around waiting for refueling" kind of deal, but I tried to make it refuel fast and effortlessly so as not to drag down the frenetic game play... not sure how well I succeeded in that. There is still a big change in game play in that now you cannot just indiscriminately carpet bomb, since preserving the fuel tanks is now important. I suppose I need to make a new tarball soon.
If you hover and refuel you will get X units of fuel per second. If you bomb the Tank you can just scoop up a fixed amount of fuel, eg. X*2 units. Now if you make fuel tanks a bit scarce a player will most likely bomb a tank only by accident or if he is in dire need of fuel but has no time to hover.
Anyway, I think I have hit upon a solution which works pretty well, which is that the refueling rate is simply really fast -- 1 unit out of a hundred per frame -- 30 units per second, or roughly a third of the player's ship's tank, per second. I can adjust the amount of fuel the tanks on the ground hold relative to the capacity of the player's tank easily enough. This seems to work pretty well, in that you do have to hover over the tanks to refuel significantly, though even just passing near them refuels a little bit, but the time to suck the fuel out of a tank is short enough that it's not like you're sitting around waiting -- more like you annihilate the nearby enemies, then go sit on a fuel tank for 1 second, which doesn't disrupt the frenetic game play too much.
It's what's in current CVS, if you want to try it.
1st level is pretty easy (with a game pad, anyhow... not sure about keyboard)
2nd level starts getting hard, 3rd level... starting to get really hard.
I also upgraded the GDB's to have better missiles which adjust velocity every frame instead of every other frame -- means they accelerate and turn faster. With a joystick, this is manageable, but challenging... with the keyboard... I might have made it too hard..
Also, I added a volcano. When you fly over the caldera of the volcano, the corrosive atmosphere damages your ship. The "cron jobs" pick upt he ".swp files", and take them to the caldera of Mount /dev/null, and drop them in there. You can pull them out of the caldera... if you're quick. Or, you can just prevent the cron jobs from putting your guys into the volcano.
In the NBA, there's a rule against "goal tending", and I kind of think with the cron jobs trying to stuff your guys into the volcano, the player is driven to "goal tending", just waiting around near the volcano for them to appear, and shooting them down. I think I need some kind of organic, natural way to discourage this, but a good idea escapes me. One idea was to have two volcanoes. But I feared this would lead to frustration as the player travels between them in the hopeless task of saving his guys from bing stuffed into the twin volcanic fires by robotic droids. Need a nice idea that naturally discourages goal tending, but isn't horribly frustrating... Maybe in time, it will come to me. -- steve
Check your spam folder...maybe it got marked as spam?
I don't know what's going on with that, nothing obvious.
My best thought was to try checking out versions of wordwarvi.c, and trying them in a binary search to see where things went haywire.
Then copy w_xx.c to wordwarvi.c and make, and try it. varying xx in a binary search to find the problem.
Not a very fun task, I'm afraid.
I've screwed with the news post a bit, actually latest version is 0.03 and also libsndfile is required for audio.
On FreeBSD, the code which generates the buildings for some reason unknown to me, seems to cause a segfault on FreeBSD. This never seems to happen on linux. And I mean NEVER. Could it be a per process memory quota kicking in? Some kind of stack limitation? (the add_buildings function is a bit ridiculously recursive). Don't know what's going on with FreeBSD. But, if you comment out the single call to the function add_buildings in wordwarvi.c, that seems to go away. Just search for add_buildings, and there's comments telling you what to comment out.
You definitely, absolutely need portaudio v. 19, and NOT v. 18. v 18 will not work.
I've had reliable reports of people running the game successfully on FreeBSD. (And Mac OS X for that matter.) Don't think the joysticks work on Mac, not sure about freebsd, but sound should work on both if you have the right portaudio lib. (v. 19.)
-- steve (word war vi author.)
Err, yeah. When game X has obviously failed at being better than game Y or even being like game Y, you might want to consider that perhaps a comparison between the two isn't appropriate.