Skip to content

Commit 49cf043

Browse files
authored
Merge pull request #11 from ut-code/patterns
Add pattern template system
2 parents 6f1eb7f + 88f719c commit 49cf043

2 files changed

Lines changed: 516 additions & 2 deletions

File tree

src/life-game/life-game.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ <h1>
88
<div id="generation">第0世代</div>
99
<div id="timer">停止中</div>
1010
</h1>
11+
ボードのサイズ<span id="sizeLabel"></span>:
12+
<input type="number" id="sizeInput" style="width: 50px" />
13+
<button id="sizeChangeButton">サイズ変更</button>
1114

1215
<table id="game-board" style="border-collapse: collapse"></table>
1316
<button id="startbutton">START</button>      <button id="stopbutton">STOP</button
1417
>      <button id="randombutton">RANDOM</button>      <button id="resetbutton">
1518
RESET
1619
</button>
20+
<div id="pattern-button-container"></div>
1721
<script src="./life-game.js"></script>
1822
</body>
1923
</html>

0 commit comments

Comments
 (0)