v1.0 - Written in Rust
This is an iteration of the popular zero-player game 'Game of Life' by Conway.
It is a small project written in the Rust programming language as a learning exercise. It is a simple console program, which uses ASCII art to draw the graphics.
The rendering is handled by the console engine crate.
All game logic is handled by the Bevy Entity Component System(ECS)
You can either clone the repository and do cargo run
or you can download a build from the links below
Downloads
Conway's Game of Life is a so-called zero-player game, meaning you can simply configure the initial state of the simulation and observe it unfold.
- Pause the game using
P
. - Setup your starting state by placing cells with
left-click
. - Run the simulation by unpausing again using
P
.
The game world is infinite, which means you can drag the simulation space by using right-click drag
.
Use R
to randomize a starting state.
If the speed is too slow increase it using X
. Note: It is limited by the framerate.
You can decrease the simulation speed using Z
.
If at any point you forget the key-bindings, a menu can be found by using H
.
Optionally you can specify the target framerate of the program. By default the program will attempt to render in 60 fps.
However despite it's simplicity, it still uses console re-draws to handle rendering, so do not expect massive framerates.
For a target fps of 40 use the parameter
cargo run -- 40