A downloadable game for Linux

An implementation of Conway's Game of Life, the cellular automaton. Includes the following functionality:

  1. Play and pause via spacebar
  2. Step through simulation forward and backward (while paused) via left and right arrow keys
  3. Blue button creates a (pseudo-)random soup of cells
  4. Red button clears and re-initialises the grid state
  5. Cursor left-click places a live cell
  6. Grid is wrapped horizontally and vertically, creating a toroidal topology

Download

Download
GoL++ 107 kB

Install instructions

The file should run on any linux machine. You may need to use the command:

chmod +x GoL++
./GoL++

Development log

Comments

Log in with itch.io to leave a comment.

(1 edit)

Switched the whole codebase to C++, because why not? I thought it would be faster, but it isn't. (I mean, maybe it's a little faster by a constant, but the complexity as the program scales is dogsh*t in both implementations.) However, this one I can at least package as a binary for my fellow linux users. Enjoy. I find the program fun to mess around with.

(1 edit)

I cannot get pip to work on my arch install at the moment, so if anyone in the world could turn my source code into a working executable, I'd appreciate that. Right now, you can play it by opening the .py file with python, pygame creates a window and draws the game.