mirror of
https://github.com/guezoloic/game-of-life.git
synced 2026-01-25 06:34:07 +00:00
feat: add display function
This commit introduces a new `display` function: - It takes an immutable reference to a grid of bool values - It takes mutable reference to a String buffer. it writes to the buffer, `X` or `.` depending on the grid's bool element.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "GameOfLife_rs"
|
||||
name = "GameOfLife"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user