Select Git revision
-
Will Billingsley authoredWill Billingsley authored
index.html 762 B
<!DOCTYPE html>
<html>
<title>Conway's Game of Life</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
<div class="container">
<h1>Conway's Game of Life</h1>
<svg xmlns="http://www.w3.org/2000/svg" id="game" width="640" height="400"></svg>
<div>
<button class="btn btn-primary" onclick="javascript: { gameOfLife.stepGame(); render(); }">Step</button>
</div>
</div>
<script src="gameOfLife.js"></script>
<script src="render.js"></script>
<script>
gameOfLife.emptyBoard()
render()
</script>
<link rel="stylesheet" href="style.css" />
</html>