-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
96 lines (74 loc) · 3.05 KB
/
game.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="he">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JFJBS3FGK3"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>התאמת מילים</title>
<link rel="stylesheet" href="./src/style.css?v=app_version-2024-11-T-25-11-40-35">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div id="overlay-start" style="display: none">
<h2 class="overlay-title">ברוכים הבאים!</h2>
<p class="overlay-text">בחרו משחק כדי להתחיל</p>
<div class="overlay-control" id="overlay-control"></div>
</div>
<div class="control-panel">
<div class="form-field">
<label for="testSelect">תרגול:</label>
<select id="testSelect"></select>
</div>
<div class="form-field">
<label for="gameTypeSelect">משחק:</label>
<select id="gameTypeSelect">
<option value="translation">תרגום</option>
<option value="partOfSpeech">חלק משפט</option>
<!-- <option value="missingWord">השלמת משפטים</option>-->
</select>
</div>
<button id="newGameBtn">חדש</button>
<a href="javascript:;" id="toggleSpeakerBtn" class="settings-link" title=" הדלקה\ כיבוי של קול"> <i
class="fas fa-volume-up"></i> </a>
<a href="javascript:;" id="toggleMenuBtn" class="settings-link" title="הגדרות"><i class="fas fa-cog"></i> </a>
</div>
<div class="statistics">
<div class="instructions">בחר משחק מהרשימה למעלה.</div>
<p>נקודות: <span id="scoreDisplay">0</span></p>
<p>שגיאות: <span id="numFailures">0</span></p>
</div>
<div class="status-message" id="statusMessage"></div>
<div class="game-area">
<div class="word-container" id="wordContainer"></div>
<div class="separator"></div>
<div class="target-container" id="targetContainer"></div>
</div>
<!--
app_version-2024-11-T-25-11-40-35
-->
<div class="control-panel-bottom" id="menu">
<div class="control-popup-content">
<div class="popup-header">
<h2>הגדרות</h2>
<a class="close-button" href="javascript:;" id="closeSettings">סגירה</a>
</div>
<div class="dropdown-group">
<label for="voiceSelect">קול:</label>
<select id="voiceSelect"></select>
</div>
<div class="dropdown-group">
<label for="font-sizes">שנה גודל כתב:</label>
<div class="buttons-group" id="font-sizes">
<button id="decreaseFont">A-</button>
<button id="increaseFont">A+</button>
</div>
</div>
</div>
</div>
<div id="log">
<p>version: app_version-2024-11-T-25-11-40-35</p>
</div>
<script type="module" src="./dist/gameManager.js?v=app_version-2024-11-T-25-11-40-35"></script>
</body>
</html>