チンチロシミュレーター
サイコロを2つ振って、合計値で勝負しよう!
```html
<!DOCTYPE html>
<html>
<head>
<title>チンチロシミュレーター</title>
</head>
<body>
<h1>チンチロシミュレーター</h1>
<p>サイコロを2つ振って、合計値で勝負しよう!</p>
<button onclick="playGame()">サイコロを振る</button>
<p id="result"></p>
<script>
function playGame() {
var dice1 = Math.floor(Math.random() * 6) + 1;
var dice2 = Math.floor(Math.random() * 6) + 1;
var total = dice1 + dice2;
if (total === 7) {
document.getElementById("result").textContent = "おめでとう!セブン!";
} else {
document.getElementById("result").textContent = "残念!もう一回挑戦してみよう!";
}
}
</script>
</body>
</html>
```