Ambassador Of Pain Screenshot Aop is a curses based arcade game for UNIX with only64 lines of sourcecode.

Aop is a curses based arcade game for UNIX with only 64 lines of sourcecode.

The goal is to drive the hoovercraft (O) trough the level into the 'at' sign (@) and reach as much points as possible by reducing the number of moves and don't losing any time. Lost lifes (0) can easily be picked up by simply drive over them.

License: free
Requirements: curses

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
nonoyesnononoyes
Suggest an update

Comments

It's impressive what you can do with just 64 lines of code :-)
If you do a wc -l, you'll find there are 64 newlines in the file. But if you pipe it through sed and just leave behind the semicolons you'll find there are 71 semicolons. That doesn't even include the include statements. (Do they count as code). I feel cheated. This guy really needs to clean up his code and remove the excess 7 lines.
Re: I feel cheated posted by anonymous on Apr 28 2004 4:47 PM

Agreed... I'm impressed, none the less :) but the claim that this is 64 lines of code is pretty random.... although every line of the source file appears to be less than 80 characters, stuff like this seems suspect:


initscr(); cbreak(); noecho();
curs_set(0); keypad(stdscr, TRUE);
nodelay(stdscr, 1); start_color();
init_pair(1, COLOR_RED, COLOR_BLACK);

very impressive nonetheless :) (no rating because I haven't actually played yet)

Re: I feel cheated posted by largos on Apr 28 2004 6:51 PM
Just rating, 2 stars for enterainment, 1 star for ingenuity.
Re: I feel cheated posted by anonymous on Apr 30 2004 3:00 AM
...and what about the included header files themselves? don't they count as sourcecode?
I went through the source code and it seems somebody has tried so hard to restrict themselves to 64 lines that they have compromised on readability. The code would be much more readable had it been allowed to go to say about 80 lines. Still it is commendable to write a game under 100 lines of code.

Log in or register to rate this game or post a comment.