Game of Life in DCPU

Conway's Game of Life written in DCPU, the assembly-like language created by Notch to be used in the game 0x10c.

The program divides each font-space into 8 equal Game of Life-cells, each 2x2-pixels big. To print the cell it has to generate the font using all 128 slots available.

Since 8 cells can be ordered in 256 different combinations the last cell determines if it should be printed with inverted colors. That way we can get all 256 possible combinations.

The all-in-one-file is just a concatenation of the other files, to simplify copy and pasting into an online IDE. There is no import used between files.

Released under the Modifed BSD-license.


Relevant links



DCPU GoL.png