-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (49 loc) · 2.12 KB
/
Copy pathindex.html
File metadata and controls
58 lines (49 loc) · 2.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rock, Paper, Scissors</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="startScreen">
<h1 class="startHead gameTitle">Rock, Paper, Scissors.</h1>
<h5 class="startHead gameInstructions"> Welcome to Rock, Paper, Scissors! This game is best of three (rounds). Ties do not count as a round.</h5>
<!-- screen with start button to begin game -->
<button class="startButton">START</button>
<p class="startButtonBottom">Press START to start the game.</p>
</div>
<div class="gamePlay">
<div class="computerChoice">
<!-- randomly generated computer selection -->
<h3 class="computerWaitingResponse">COMP has chosen...</h3>
<img class="rockIconC" src="rock.png">
<img class="paperIconC" src="paper.png">
<img class="scissorsIconC" src="scissors.png">
</div>
<div class="playerChoice">
<!-- display three choices - PNGs - and allow user to select one by clicking icon -->
<img class="playerOption" id="1" src="rock.png" >
<img class="playerOption" id="2" src="paper.png">
<img class="playerOption" id="3" src="scissors.png">
<h2 class="playerQuestion">Make your selection by clicking an icon.</h2>
</div>
<div class="score">
<!-- score board in corner of screen -->
<p class="scoreSB">SCORE</p>
<p class="scoreboardSub">COMP - <strong class="computerScore">0</strong> </p>
<p class="scoreboardSub">YOU - <strong class="playerScore">0</strong> </p>
</div>
<div>
<p class="currentRoundWinner"></p>
<h1 class="gameWinner"></h1>
</div>
<div class="resultScreen">
<!-- display result once three rounds are over - best out of three -->
</div>
</div>
<script src="app.js"></script>
</body>
</html>