#conway #life #game #rust

bin+lib conway-rs

An implementation of the Conway's game of life written in Rust

3 releases

Uses old Rust 2015

0.1.2 Jul 16, 2017
0.1.1 Jul 16, 2017
0.1.0 Jul 16, 2017

#36 in #conway

44 downloads per month

MIT license

15KB
177 lines

Description

Another stupid implementation of Conways's Game of Life written in Rust language.

screenshot

Motivation

Use a more complex example than 'hello world' to learn a new language.

Usage

Shortly:

cargo build --release
cargo run

You need the Rust environment to build this repository. Specifically the Rust Compiler rustc and the Rust package manager cargo. You can download both on the official website of the Rust language or in the official repositories of your operating system.

Author

License

MIT


lib.rs:

A simple implementation of Conway's Game of Life

The main modules are the cell and grid. Utils module has just a function whose returns a random number to initialize the grid.

Dependencies

~320–540KB