-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (52 loc) · 2.13 KB
/
index.html
File metadata and controls
56 lines (52 loc) · 2.13 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
<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>משחק זיכרון - התאמת תמונות</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header>
<h1>🧠 משחק זיכרון</h1>
<div class="game-info">
<div class="score">
<span>ניקוד: </span>
<span id="score">0</span>
</div>
<div class="moves">
<span>מהלכים: </span>
<span id="moves">0</span>
</div>
<div class="timer">
<span>זמן: </span>
<span id="timer">00:00</span>
</div>
</div>
</header>
<div class="controls">
<button type="button" class="btn upload-btn" onclick="if(!this.disabled) document.getElementById('imageUpload').click()" title="העלה תמונות נוספות">
📁
</button>
<input type="file" id="imageUpload" multiple accept="image/*" style="display: none;">
<button id="startBtn" class="btn start-btn" title="התחל משחק">▶️</button>
<button id="resetBtn" class="btn reset-btn" title="איפוס">🔄</button>
<span id="uploadCount"></span>
</div>
<div id="gameBoard" class="game-board"></div>
<div id="gameOverModal" class="modal">
<div class="modal-content">
<h2>🎉 כל הכבוד!</h2>
<p>השלמת את המשחק!</p>
<div class="final-stats">
<p>ניקוד סופי: <span id="finalScore"></span></p>
<p>סך המהלכים: <span id="finalMoves"></span></p>
<p>זמן: <span id="finalTime"></span></p>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>