-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (71 loc) · 3.64 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
<!DOCTYPE html>
<html lang = "en" dir = "ltr">
<head>
<meta charset = "utf-8">
<title>War!</title>
<link href="./resources/css/reset.css" rel="stylesheet" type="text/css"/>
<link href = "./resources/css/style.css" rel = "stylesheet" type = "text/css" />
<script src="https://kit.fontawesome.com/3a5da632ae.js" crossorigin="anonymous"></script>
<link rel="icon" type="image/png" sizes="16x16" href="./resources/images/backofcard.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="playerName">
<input value="Player" id="playername" type="text" align = "right" size="6">
<button id="enter">Submit</button>
</div>
<div id="practice" style="font-size: 2rem;"></div>
<div id="gameboard" class="flex">
<div class="flexcolumn">
<h1 class="hidden2">War!</h1>
<h3 id="winner"></h3>
<div id="end">
<h3 class="hidden2"><span id="nameOfPlayer"></span> has <span id="playerCount"></span> cards.</h3>
<h3 class="hidden2">Computer has <span id="computerCount"></span> cards.</h3>
</div>
<div>
<h2 class="hidden2" id="mathOptions" class="button">Math Options?</h2>
<div id="options" class="hidden">
<button id="compare">Compare</button><button id="arithmetic">Arithmetic</button>
</div>
<h2 id="math" class="hidden"><span id="add" class="button">ADD</span><span id="multiply" class="button">MULTIPLY</span><span id="subtract" class="button">SUBTRACT</span>
<h2 id="integers" class="hidden" style="margin-left:1rem;">Integers?<span id="yes" class="button">YES</span><span id="no" class="button">NO</span>
</div>
<!--<div class="players"> -->
<div id="flex">
<div class="hidden3" id="player" class="flexcolumn player">
<h2 class="hidden2"id="namePlayer"></h2>
<div class="hidden4" id="playerNumber" class="number">
</div>
<div class="hidden4" id="playerSuit" class="suit flex">
</div>
<h2 id="one" class="button hidden">Winner</h2>
</div>
<div class="flexcolumn">
<p id="compareDirections" id = "directions" class="hidden">Choose wich player has the card that shows the greater amount.</p>
<p id="addDirections" id = "directions" class="hidden">Add the card amounts together.</p>
<p id="multiplyDirections" id = "directions" class="hidden">Multiply the card amounts together.</p>
<p id="subtractDirections" id = "directions" class="hidden">Player One's card minus Player Two's card.</p>
<p id="integerDirections" id = "directions" class="hidden">Black is positive. Red is negative.</p>
<input class="hidden" id="playerAnswer" type="number" align ="right" size="6">
<button class="hidden" id="submit">Check</button>
<h2 class="hidden2" id="draw">Draw</h2>
</div>
<input class="hidden" value="answer"></input>
<div id="flex">
<div class="hidden3" id="computer" class="flexcolumn player">
<h2 class="hidden2">Computer</h2>
<div class="hidden4" id="computerNumber" class="number">
</div>
<div class="hidden4" id="computerSuit" class="suit flex">
</div>
<h2 id="two" class="button hidden">Winner</h2>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="./resources/js/script.js"></script>
</body>
</html>