Best way to lose a life

  1. David Lowe
    434 Tenney Drive
    Rogue River, OR
    97537
    j.david.lowe@gmail.com
    http://www.pootpoot.net/

Judges' comments:

To build:

make dlowe

To run:

./dlowe

Try:

./dlowe
# Watch for a while if you like, then press a key within the window
# Use up and down keys to escape death

Selected Judges Remarks:

The judges lose playing this game. This entry wins!

OS X users running Mountain Lion and later will need to download and install:

http://xquartz.macosforge.org/landing/

Q: How did we get past the variadic macro problem on a Mac?

A: Don’t use -pedantic-errors in the Makefile.

Author’s comments:

Conway’s Game of DEATH

This is a challenging, fast-paced arcade game, based on the famous Game of Life.

Story

In the game, you are Mr.C, a lightweight spaceship making a futile dash for escape from the rigid rules and predictability of life in the B3/S23 universe.

Use the up and down arrow keys to steer: collisions are fatal for Mr.C! Learn to spot incoming gliders, skim the surfaces of beehives and blocks, and give blinkers plenty of space. Things get crazier as Mr.C picks up speed… can he escape?

No. There is no winning. Sadly for Mr.C, this universe goes on forever. Just see how far you can make it!

Press ‘q’ any time to quit.

Features

Limitations

Wish List

Hosts Tested

Obfuscations

The code is formatted into a 14-cell shape which will evolve into a glider in 19 generations.

Lots of globals, including a global struct whose members have the same names as global variables.

Global variables getting reused in different contexts.

Huge and convoluted expressions, abusing ternary operators and operator precedence.

Lots of magic numbers, abuse of the relationships between magic numbers, and abuse of the arithmetic properties of magic numbers.


Creative Commons License

© Copyright 1984-2015, Leo Broukhis, Simon Cooper, Landon Curt Noll - All rights reserved
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.