blob: d197ad21334ff846994eabe0bae6f01e23e8828a (
plain) (
tree)
|
|
<!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>
|