dotnet / dotnet/samples

Conway's game of life: setSeed() violates the OCP

Open
#4,484 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
5.1k
Avg merge
9h 11m
Merged PRs (30d)
1

Description

## Conway's game of life

Animation.vb, setSeed() violates the OCP (open close principle). We can't add new starting patterns without modifying the code for the animation. The initial pattern should be separated from the algorithm.

---
#### Issue metadata

* Issue type: sample-update

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.