-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex1.html
More file actions
25 lines (25 loc) · 942 Bytes
/
Copy pathindex1.html
File metadata and controls
25 lines (25 loc) · 942 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Torres de Hanói</title>
<link rel="stylesheet" href="style1.css">
</head>
<body>
<div class="game-container">
<h1>Torres de Hanói</h1>
<div class="controls">
<button onclick="startGame(3)">Nível Fácil (3 Discos)</button>
<button onclick="startGame(4)">Nível Médio (4 Discos)</button>
<button onclick="startGame(5)">Nível Difícil (5 Discos)</button>
</div>
<div class="towers">
<div class="tower" id="tower1" onclick="selectTower(1)"></div>
<div class="tower" id="tower2" onclick="selectTower(2)"></div>
<div class="tower" id="tower3" onclick="selectTower(3)"></div>
</div>
</div>
<script src="game.js"></script>
</body>
</html>