#conway #life #game #clone #run #another


Yet Another Game of Life Library - A toy-ish library for initializing and interacting with Conway's Game of Life

3 releases

0.1.2 Jul 7, 2022
0.1.1 Jun 20, 2022
0.1.0 Jun 17, 2022

#217 in Games

MIT license

401 lines

YAGoLL (Yet Another Game of Life Library)

crates.io version shield


yagoll is a simple Game of Life library designed to be consumed by other Rust programs for the purposes of initializing and interacting with configurable Game of Life instances.


I wanted to learn how to make and publish a Rust library and this seemed like an easy way to accomplish that.


To see the library in action, follow the steps below:

  1. Clone the repo: git clone https://github.com/ChrisRenfrow/yagoll.git && cd yagoll
  2. Run the provided example: cargo run --example play-game-of-life ./tests/test-boards/four-circles.txt 20 500


  • Basic Functionality
  • Extended
    • Provide a method that returns a range of pre-computed cycles
    • Implement Iterable for Board
    • Write board state to file at path

No runtime deps