IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

1998/dloweneil - Most fun

A very addictive ASCII poot game

Authors:

To build:

    make all

There is an alternate version available that has a key configuration that will be more familiar to vi(m) users and also allows one to quit. See alternate code below.

Bugs and (Mis)features:

The current status of this entry is:

STATUS: missing or dead link or links - please provide it or them

For more detailed information see 1998/dloweneil in bugs.html.

To use:

    ./pootris [X size of board] [Y size of board]

Pressing a moves the current letter position counterclockwise/anticlockwise (a)round the border of the playing field.

Pressing s moves the current letter one position clockwise around the border of the playing field.

Pressing d drops the current letter onto the board.

Alternate code:

This version has it so that where in addition to a moving you counterclockwise/anticlockwise h does as well; and in addition to s moving clockwise l does as well. Instead of using d to drop the letter you can do j or space. Finally to quit this version you can press q.

Alternate build:

    make alt

Alternate use:

    ./pootris.alt [X size of board] [Y size of board]

Judges’ remarks:

Read the authors’ remarks below to find out how to play. We believe that your experience may mirror one of our experiences:

Originally, I didn’t appreciate the game. Then I actually read the description of the controls. I started playing. I struggled. I spelled my first “poot”. I was hooked …

Author’s remarks:

Usage

    ./pootris [X size of board] [Y size of board]

Synopsis

The object of this game is to spell POOT as much as possible. There is no time pressure. You’re given one letter at a time (sort of randomly chosen from the set ‘P’, ‘O’, and ‘T’) and you get to move it freely around the border of the playing board, and decide when and where to drop it into the board. Sound easy? Of course, there’s a catch…

Controls

Only three controls:

a: moves the current letter one position counterclockwise around the border of the playing field.

s: moves the current letter one position clockwise around the border of the playing field.

d: drops the current letter onto the board.

To quit, send a fatal signal to the process.

Rules of motion

The different letters move in different directions once dropped onto the board:

P moves diagonally, at a 45 degree angle and in a clockwise direction around the board once dropped.

O moves in a straight line perpendicular to the border from which it is dropped.

T moves diagonally, at a 45 degree angle and in a counterclockwise direction around the board once dropped.

The letters bounce off the top and sides of the board. They bounce in a ‘natural’ way, with the exception that Os will fall straight down if they hit a side wall.

The letters stop when they hit another letter or the bottom of the board.

Rules of spelling

Rules of scoring

Some of the obfuscations

Some things I wish I could have fit into this, but didn’t have the space:

Good Luck!

Inventory for 1998/dloweneil

Primary files

Secondary files


Jump to: top