Initial commit

This commit is contained in:
2026-05-07 03:23:56 +00:00
commit 5e8575f42a
42 changed files with 2330 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
using System.Collections.Generic;
using GameOfLife.Entities;
namespace GameOfLife
{
public interface ILife
{
int Generation { get; }
int Population { get; }
bool IsCellAlive(Cell cell);
bool AllAlive(IEnumerable<Cell> cells);
bool AllDead(IEnumerable<Cell> cells);
bool ToggleCell(Cell cell);
void IncrementGeneration();
IEnumerable<Cell> LivingCells { get; }
}
}