add: Generator

This commit is contained in:
h z
2025-01-22 09:46:30 +00:00
parent 081863bde2
commit f428c6f3a5
6 changed files with 137 additions and 28 deletions

View File

@@ -20,8 +20,8 @@ public class Board
public required int Height { get; init; }
public required bool QuotientX { get; init; }
public required bool QuotientY { get; init; }
public HashSet<(int, int)> Lives { get; init; }
public CellTracer? Tracer { get; init; }
public HashSet<(int, int)> Lives { get; internal set; }
public CellTracer Tracer { get; init; }
public void Toggle(int x, int y, bool initialConfig=false)
{