life

Conway's Game of Life implemented in the Crystal language with the CrSFML library.

life

Conway's Game of Life implemented in Crystal using CrSFML.

Life Screenshot

Compiling

To build the executable, in the root directory run:

crystal deps
crystal build src/life.cr

In order to compile the program with the commands above you need to have crystal and CrSFML installed.

Usage

To run:

./life

To change the initial configuration and size of the grid and other settings, please edit the files life.cfg and board.dat. The file board.dat is only used if the generation mode is set to file, otherwise (random), the initial board state is randomly generated.

RIP John Conway.

Repository

life

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 1
  • over 4 years ago
  • May 20, 2017
License

MIT License

Links
Synced at

Mon, 25 Nov 2024 00:11:03 GMT

Languages