#life #game #initializing #conway #toy-ish

yagoll

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

#701 in Games

MIT license

18KB
401 lines

YAGoLL (Yet Another Game of Life Library)

crates.io version shield

What?

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.

Why?

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

Examples

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

Roadmap

  • 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