auto global game of life

This commit is contained in:
JurajKubrican
2025-08-04 16:28:42 +02:00
parent a393b03d98
commit b13c8c4f14
7 changed files with 147 additions and 68 deletions

View File

@@ -1,14 +1,6 @@
{{block "boxes" .}}
<link rel="stylesheet" href="/css/boxes.css?v={{.BuildNumber}}" />
<div class="boxes-container">
<label>
<Button id="randomize">Randomize</Button>
</label>
<label>
Auto play Game of Life
<input type="checkbox" id="game-of-life" />
</label>
<div class="boxes">
{{range .Boxes}}<input
type="checkbox"