lab 03
This commit is contained in:
9 files changed
+1252
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Game of Life</title>
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 1.5rem;
|
||||
padding: 0.25rem 1rem;
|
||||
margin: 1rem 0.5rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<button id="play-pause"></button>
|
||||
<button id="step">⏭</button>
|
||||
<button id="clear">Clear</button>
|
||||
</div>
|
||||
<canvas id="game-of-life-canvas"></canvas>
|
||||
<script type="module" src="./index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user