mirror of
https://github.com/Aviortheking/game-of-life.js.git
synced 2025-04-22 02:42:09 +00:00
27 lines
698 B
HTML
27 lines
698 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Document</title>
|
|
<script defer src="build/main.js"></script>
|
|
<style>
|
|
canvas {
|
|
background: grey
|
|
}
|
|
p {
|
|
display: inline
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas></canvas>
|
|
<button class="start">Start/Continue</button>
|
|
<button class="step">Step</button>
|
|
<button class="pause">Pause</button>
|
|
<button class="grid">Switch Grid</button>
|
|
<p>Counter: <span class="counter">0</span> Cells alive: <span class="cell-count">0</span> Time to handle: <span class="speed">0</span></p>
|
|
</body>
|
|
</html>
|