-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (62 loc) · 2.22 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
<!DOCTYPE html>
<html>
<head>
<title>War Game</title>
<link rel="stylesheet" type="text/css" href="./war.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"
/>
<!-- Card images from https://github.com/hayeah/playing-cards-assets -->
</head>
<body class="body">
<h1 class="blank congrats">
Congratulations to the winner, Player <span class="player-num">1</span>!
</h1>
<div class="container">
<h1 class="ui header" id="header">This...is...WAR!</h1>
<div class="ui three column centered grid">
<div class="twelve column centered row">
<div class="five wide column playarea playarea1 active">
<h2 class="players player-1">Player 1</h2>
<img src="./images/back.png" class="player-1-card card" />
<div class="scoreboard">
<h3>Round Points</h3>
<p class="player-1-score scores">15</p>
</div>
</div>
<div class="two wide column playarea">
<div class="new-game">
<button class="positive ui button">
<i class="redo icon"></i>
New Game
</button>
</div>
<div class="draw">
<img src="./images/back.png" id="card" />
</div>
<div class="ui form">
<div class="field">
<form class="play-to-form">
<label>Play to:</label>
<input type="number" id="play-to" min="1" max="999" />
<button class="ui violet button">Enter</button>
</form>
</div>
</div>
</div>
<div class="five wide column playarea playarea2">
<h2 class="players player-2">Player 2</h2>
<img src="./images/back.png" class="player-2-card card" />
<div class="scoreboard">
<h3>Round Points</h3>
<p class="player-2-score scores">14</p>
</div>
</div>
</div>
</div>
<h2 class="objective">First to <span class="score-to">10</span> wins!</h2>
</div>
<script src="index.js"></script>
</body>
</html>