-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
104 lines (100 loc) · 3.88 KB
/
index.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
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="assets/css/macca.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/macca.js"></script>
<script type="text/javascript" src="assets/js/jquery-3.2.1.min.js"></script>
<title>MaccaSweeper - A minesweeper story</title>
</head>
<body>
<header>
<h1>MaccaSweeper</h1>
</header>
<div class="game-options-wrapper">
<div class="game-option board-size-wrapper">
<button class="game-options-btn" id="board-size-btn">Board size</button>
<div class="board-size-dropdown">
<div class="board-size-type">Tiny</div>
<div class="board-size-type current-board-size">Small</div>
<div class="board-size-type">Medium</div>
<div class="board-size-type">Large</div>
<div class="board-size-type">Enormous</div>
</div>
</div>
<div class="game-option new-game-wrapper">
<button class="game-options-btn" id="new-game-btn">New game</button>
</div>
</div>
<div class="game-info-wrapper">
<div class="flag-count-wrapper">
<span>Maccas:</span>
<span class="flag-count"></span>
</div>
<div class="timer-wrapper">
<span>Time:</span>
<span class="time"></span>
</div>
</div>
<div class="board-wrapper">
<div class="board-container">
</div>
</div>
<div class="gameover-container">
<div class="gameover-text">
<h2></h2>
</div>
<div class="play-again">
<button id="play-again-btn">
Play again?
</button>
</div>
</div>
<div id="current-score" class="scoreboard">
<h3>Current Scoreboard</h3>
<div class="scorecard">
<label for="plays">Games Played</label>
<p id="plays" class="value">0</p>
</div>
<div class="scorecard">
<label for="wins">Games Won</label>
<p id="wins" class="value">0</p>
</div>
<div class="scorecard">
<label for="lost_games">Games Lost</label>
<p id="lost_games" class="value">0</p>
</div>
<div class="scorecard">
<label for="best_time">Best Time</label>
<p id="best_time" class="value">0</p>
</div>
</div>
<p>
<a href="#" onclick="document.getElementById('top-score').classList.toggle('hidden'); return false;">Lifetime Stats</a> |
<a href="#" onclick="toggleHelp(); return false;">How To Play</a> |
<a href="#" onclick="toggleJcanHelp(); return false;">The Jamaican Help Guide</a> |
<a href="about.html" target="_blank">Read Documentation</a> |
<a href="https://github.com/sheldon-e/maccasweeper/releases/latest" target="_blank">Download</a> |
<a href="https://github.com/sheldon-e/maccasweeper/issues/new" target="_blank">Report a Problem</a>
</p>
<div id="top-score" class="hidden">
<div class="scoreboard">
<h3>Lifetime Scoreboard</h3>
<div class="scorecard">
<label for="games_played">Total Games</label>
<p id="games_played" class="value">0</p>
</div>
<div class="scorecard">
<label for="total_wins">Total Wins</label>
<p id="total_wins" class="value">0</p>
</div>
<div class="scorecard">
<label for="lifetime_best">Best Time</label>
<p id="lifetime_best" class="value">0</p>
</div>
</div>
</div>
<footer>
<small>© <a href="https://github.com/sheldon-e/maccasweeper">MaccaSweeper</a> v.1.5.2 Sheldon Evans & Terrica Thompson 2017</small>
</footer>
</body>