-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (99 loc) · 3.11 KB
/
index.html
File metadata and controls
99 lines (99 loc) · 3.11 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
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
<!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>Document</title>
<link rel="stylesheet" href="./styles.css" />
<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=Alegreya+SC:wght@400;700&family=Alegreya:ital,wght@0,400;0,700;0,800;1,800&display=swap"
rel="stylesheet"
/>
</head>
<body>
<! --INTRO SECTION-->
<div class="nameDiv">
<h2 class="greetings1">Greetings traveller</h2>
<p class="greetings2">
Please, Tell me.. <br />
what's your name?
</p>
<input
type="text"
name=""
placeholder="Please insert your name..."
autocomplete="off"
maxlength="10"
id="nameInput"
/>
<input type="button" name="" id="nameButton" value="Send" />
</div>
<div class="introDiv noDisplay">
<h1></h1>
<button id="startGame">START GAME</button>
</div>
<! --GAME SECTION-->
<div class="gameDiv noDisplay">
<div class="computerDeck">
<div>
<p id="computerName">Traveller</p>
</div>
<hr />
<div id="topDeck"></div>
</div>
<div class="inPlayCards">
<div class="playButtons">
<button id="flipCoin" class="noDisplay">Flip the coin</button>
<button id="pickCard" class="noDisplay">Pick a card</button>
<button id="fightChallenge" class="noDisplay">Fight</button>
<button id="runChallenge" class="noDisplay">Run</button>
<button id="playChallenge" class="noDisplay">Trick</button>
<button id="computerRound" class="noDisplay">Next Round</button>
</div>
<div id="p1Card" class="hideDisplay">
<p id="p1CardName"></p>
<img id="p1CardImg" />
<div id="p1CardAttr">
<p id="p1CardFight"></p>
<p id="p1CardSpeed"></p>
<p id="p1CardInt"></p>
</div>
</div>
<div id="gameMessage">
<p id="playerStatus"></p>
<p id="computerStatus"></p>
<p id="limboStatus"></p>
<p id="gameStatus"></p>
</div>
<div id="p2Card" class="hideDisplay">
<p id="p2CardName"></p>
<img id="p2CardImg" />
<div id="p2CardAttr">
<p id="p2CardName"></p>
<p id="p2CardFight"></p>
<p id="p2CardSpeed"></p>
<p id="p2CardInt"></p>
</div>
</div>
</div>
<div class="playerDeck">
<div>
<p id="playerName"></p>
</div>
<hr />
<div id="bottomDeck"></div>
</div>
</div>
<div class="gameOver noDisplay">
<div class="gameOverModal">
<h2>Game Over!!</h2>
<p id="gameResult"></p>
<button id="playAgain">Play Again</button>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>