-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (72 loc) · 3.79 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Famous Blunders | Trijam #261</title><link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Holtwood+One+SC&display=swap" rel="stylesheet">
<link href="styles/style.css" rel="stylesheet">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<header>
<a href="https://www.github.com/thecodingcouple/trijam-261">Famous Blunders | Trijam #261</a>
</header>
<main>
<!-- Start Game Scene -->
<section id="start-scene">
<div class="scene">
<h1 class="big-heading">Famous Blunders</h1>
<div class="game-description">
<img class="title-image" src="assets/black-queen.png" alt="A hand drawn Black King Chess piece">
<p>In <strong>Famous Blunders</strong> you are replaying the final moments before a chess player blundered a game piece. The objective of the game is to identify which piece was blundered and where it was moved to.</p>
</div>
<button id="start-game-button" class="state-game-button">Start Game</button>
</div>
</section>
<!-- Play Scene -->
<section id="play-scene" class="hidden">
<div class="scene">
<h2 id="players-heading"></h2>
<h3 id="event-heading"></h3>
<div class="game-area">
<p>It is <span id='player-to-move'></span>'s turn to move <strong>(<span id="player-color"></span>)</strong>. To select the blunder:
<ol>
<li>Click on the square of game piece to move.</li>
<li>Click on a second square to highlight it's destination.</li>
</ol>
<div class="game-board-container">
<div>
<table id="game-board"></table>
<section id="correct-answer" class="hidden">
<div>
<h2>Blunder!</h2>
<p id="blunder-explanation"></p>
<button id="next-round-button" class="state-game-button">Next Round</button>
</div>
</section>
<section id="incorrect-answer" class="hidden">
<div>
<h2>Not the blunder!</h2>
<button id="try-again-button" class="state-game-button">Retry?</button>
</div>
</section>
</div>
</div>
<button id="hint-button" title="Reveal Hint">Reveal Hint</button>
</div>
</div>
</section>
<!-- End Game Scene -->
<section id="end-scene" class="hidden">
<div class="scene"></div>
</section>
</main>
<footer>
<a href="https://twitter.com/thecodingcouple">A game by Michael & Ashley | @thecodingcouple <img src="favicon.ico"> </a>
</footer>
<script type="module" src="scripts/main.js"></script>
</body>
</html>