-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (68 loc) · 2.95 KB
/
index.html
File metadata and controls
75 lines (68 loc) · 2.95 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Solitaire</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game-board">
<div class="top-area game-area">
<div class="pile stock" id="stock">
<div id="stock-visual-container"></div>
</div>
<div class="pile waste" id="waste"></div>
<div></div> <!-- Spacer -->
<div class="pile foundation" id="foundation-0"></div>
<div class="pile foundation" id="foundation-1"></div>
<div class="pile foundation" id="foundation-2"></div>
<div class="pile foundation" id="foundation-3"></div>
</div>
<div class="tableau-area game-area">
<div class="pile tableau" id="tableau-0"></div>
<div class="pile tableau" id="tableau-1"></div>
<div class="pile tableau" id="tableau-2"></div>
<div class="pile tableau" id="tableau-3"></div>
<div class="pile tableau" id="tableau-4"></div>
<div class="pile tableau" id="tableau-5"></div>
<div class="pile tableau" id="tableau-6"></div>
</div>
</div>
<div class="win-overlay" id="win-overlay">
<div class="win-message">You Win!</div>
<button id="new-game-win-btn" class="menu-btn">New Game</button>
</div>
<div id="ui-controls">
<div id="menu-toggle">
<span></span>
<span></span>
<span></span>
</div>
<button id="undo-main-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7v6h6"/><path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13"/></svg>
</button>
</div>
<div id="side-menu">
<button id="new-game-menu-btn" class="menu-btn">New Game</button>
<button id="undo-btn" class="menu-btn">Undo</button>
<button id="hint-btn" class="menu-btn">Hint</button>
<button id="solve-btn" class="menu-btn">Magic Solve</button>
<button id="start-robot-btn" class="menu-btn">Start Robot</button>
<button id="stop-robot-btn" class="menu-btn" style="display: none;">Stop Robot</button>
<button id="deck-btn" class="menu-btn">Deck</button>
</div>
<div id="options-modal">
<div id="options-modal-content">
<div id="options-modal-header">
<h2>Choose a Deck</h2>
<button id="close-modal-btn">×</button>
</div>
<div id="deck-options-grid">
<!-- Deck options will be populated by JS -->
</div>
</div>
</div>
<script type="module" src="js/main.js"></script>
</body>
</html>