diff options
Diffstat (limited to 'js/life/index.html')
-rw-r--r-- | js/life/index.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/js/life/index.html b/js/life/index.html new file mode 100644 index 0000000..d197ad2 --- /dev/null +++ b/js/life/index.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Conway's Game of Life</title> + <style> + body, html { + margin: 0; + padding: 0; + overflow: hidden; + } + canvas { + display: block; + } + #controls { + position: absolute; + top: 10px; + right: 10px; + z-index: 10; + } + </style> +</head> +<body> + <div id="controls"> + <button id="startPauseButton">Start</button> + </div> + <canvas id="gameCanvas"></canvas> + <script src="life.js"></script> +</body> +</html> \ No newline at end of file |