-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (96 loc) · 4.73 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
<!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">
<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=Open+Sans&family=Racing+Sans+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="styles.css">
<title>💥EXTREME💥 Rock, Paper, Scissors</title>
</head>
<body>
<main>
<audio
id="jukebox"
class="jukebox"
controls
controlsList="nodownload"
src="resources/audio/SF2 - Ryu's theme.mp3">
Your browser does not support the <code>audio</code> element.
</audio>
<div class="start-container" id="start-container">
<div class="game-description">
<h2>Warriors from across time collide in a battle to see who is the best at...</h2>
</div>
<div class="game-title">
<h1>💥EXTREME💥</h1>
<h2>Rock, Paper, Scissors</h2>
</div>
<div class="difficulty-container">
<h3>Choose Game Length</h3>
<div class="all-diffs">
<button class="diff-btn" value="5">5 Wins</button>
<button class="diff-btn" value="25">25 Wins</button>
<button class="diff-btn" value="100">100 Wins</button>
</div>
</div>
<button id="start-btn" class="btn">Start Game</button>
</div>
<div class="choose-character" id="choose-container">
<h2 class="section-header">Choose your warrior: </h2>
<div class="characters-container">
<img class="character-img" src="resources/images/warrior1.jpg" alt="One of the warriors chosen to become the Extreme Rock, Paper, Scissor champion.">
<img class="character-img" src="resources/images/warrior2.jpg" alt="One of the warriors chosen to become the Extreme Rock, Paper, Scissor champion.">
<img class="character-img" src="resources/images/warrior3.jpg" alt="One of the warriors chosen to become the Extreme Rock, Paper, Scissor champion.">
<img class="character-img" src="resources/images/warrior4.jpg" alt="One of the warriors chosen to become the Extreme Rock, Paper, Scissor champion.">
<img class="character-img" src="resources/images/warrior5.jpg" alt="One of the warriors chosen to become the Extreme Rock, Paper, Scissor champion.">
<img class="character-img" src="resources/images/warrior6.jpg" alt="One of the warriors chosen to become the Extreme Rock, Paper, Scissor champion.">
</div>
<button class="btn" id="commence-btn">Fight!</button>
</div>
<div class="game-container" id="game-container">
<div class="inner-game-container">
<img class="vs-img" src="resources/images/Street_Fighter_VS_logo.png" alt="">
<div class="player-container">
<img id="player-portrait" class="player-image" src="" alt="">
<div id="player-choice">
<i class="far fa-hand-rock"></i>
</div>
<span class="score-container player-score" id="player-score">0</span>
</div>
<div class="player-container">
<img id="opponent-portrait" class="player-image" src="" alt="">
<div id="opponent-choice">
<i class="far fa-hand-rock"></i>
</div>
<span class="score-container opponent-score" id="opponent-score">0</span>
</div>
</div>
<h3 id="conclusion-text" class="conclusion-text">May the best warrior win!</h3>
<div class="choice-container">
<div class="choice" id="rock">
<i class="far fa-hand-rock"></i>
<h3>ROCK</h3>
</div>
<div class="choice" id="paper">
<i class="far fa-hand-paper"></i>
<h3>PAPER</h3>
</div>
<div class="choice" id="scissors">
<i class="far fa-hand-scissors"></i>
<h3>SCISSORS</h3>
</div>
</div>
<button class="btn" id="choice-btn">Go!</button>
</div>
<button class="btn restart" id="restart" onclick="window.location.reload()">Restart Game</button>
<footer>
<small>Site created by <a href="https://github.com/Kijimai">Kijimai</a> @ Github</small>
</footer>
</main>
<script src="script.js"></script>
</body>
</html>