Spaces:
Running
Running
File size: 1,210 Bytes
6a7997c ed2ca9d 6a7997c ed2ca9d 6a7997c 99d898e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>数字を発見するゲーム</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div id="modeSelect" style="margin-bottom:1rem;">
<label><input type="radio" name="mode" value="single" checked> シングルプレイ</label>
<label style="margin-left:1rem;"><input type="radio" name="mode" value="vsAI"> VS AI</label>
</div>
<div id="difficultySelect" style="display:none; margin-bottom:1rem;">
難易度:
<label><input type="radio" name="difficulty" value="easy" checked> 簡単</label>
<label style="margin-left:1rem;"><input type="radio" name="difficulty" value="hard"> 難しい</label>
</div>
<div id="gameInfo">
探す数字: <span id="target">--</span>
</div>
<button id="startBtn">ゲーム開始</button>
<div id="scores" style="display:none; margin-bottom:1rem;">
プレイヤー: <span id="playerScore">0</span> AI: <span id="aiScore">0</span>
</div>
<canvas id="gameCanvas" width="800" height="600"></canvas>
<div id="message"></div>
</div>
<script src="script.js"></script>
</body>
</html>
|