Game of Life++
A downloadable game for Linux
An implementation of Conway's Game of Life, the cellular automaton. Includes the following functionality:
- Play and pause via spacebar
- Step through simulation forward and backward (while paused) via left and right arrow keys
- Blue button creates a (pseudo-)random soup of cells
- Red button clears and re-initialises the grid state
- Cursor left-click places a live cell
- Grid is wrapped horizontally and vertically, creating a toroidal topology
Status | Released |
Platforms | Linux |
Author | Doc |
Genre | Simulation |
Made with | pygame |
Tags | Abstract, cellular-automaton, Life Simulation, Math |
Code license | GNU General Public License v2.0 (GPL) |
Average session | A few seconds |
Languages | English |
Inputs | Keyboard, Mouse |
Links | Blog |
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
- A C++ ImplementationDec 01, 2023
Comments
Log in with itch.io to leave a comment.
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.
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.