GithubHelp home page GithubHelp logo

death-1's Introduction

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

  • casual gameplay
  • infinite, procedurally generated universe
  • progressive difficulty
  • animated splash screens

Limitations

  • Flicker, especially at high speeds, and in spite of "double-buffering" (X11 doesn't make it possible to lock drawing to the display refresh rate.)
  • Cannot be run outside of the directory containing the data files (splash.d, dead.d and sprites.d).
  • Cannot build or run without X11 (or an X11 compatibility layer).

Wish List

  • Score keeping
  • Color
  • In-game instructions
  • Sound

Hosts Tested

  • Darwin 10.8.0 i386 (clang 1.6 and gcc 4.2.1)
  • Linux 2.6.32 i686 (clang 1.1 and gcc 4.4.3)
  • Linux 3.2.0 x86_64 (clang 3.0 and gcc 4.6.3)

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.

death-1's People

Contributors

dlowe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.