-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (67 loc) · 2.48 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">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<title>Sam's HangMan Game</title>
</head>
<body>
<h1>HANGMAN</h1>
<div class = 'instructions'>
<ul>
<li>This game requires two players.</li>
<li>Player 1 enter the word to be guessed below (do not let player 2 see!)</li>
<li>Player 2 then try to guess the word!</li>
<li>There are 6 guesses until you lose!</li>
</ul>
</div>
<div class = 'newgame'>
<div class = 'startanewgame blinking'>
<input type="text" maxlength="10" id='newword' placeholder = 'Enter your Word Here'>
<input type="button" id = 'newgame' value = 'New Game'>
</div>
</div>
<div class = 'endmessage'></div>
<div class = 'flex'>
<div class = 'boardwins'>
<div class = 'scorebox'>
<h3>Wins</h3>
<p id = 'wins'>0</p>
</div>
<div class = 'hangmanboard'>
<div class= 'head index1 hidden'></div>
<div class= 'body index2 hidden'></div>
<div class = 'leftarm index3 hidden'>
<div class = 'armdrawing'></div>
</div>
<div class = 'rightarm index4 hidden'>
<div class = 'armdrawing'></div>
</div>
<div class = 'leftleg index5 hidden'></div>
<div class = 'rightleg index6 hidden'></div>
</div>
<div class = 'scorebox'>
<h3>Losses</h3>
<p id = 'losses'>0</p>
</div>
</div>
<div class = 'letterboard'>
<div class = 'tiles'></div>
</div>
<div class = 'newflex'>
<div class = 'bottomarea'>
<div class = 'guessedletters'>
</div>
</div>
<div class = 'submission'>
<input type="text" maxlength="1" id='form'>
<input type="button" id = 'submit' value = 'Guess Letter'>
</div>
</div>
</div>
<script src="hangman.js"></script>
</body>
</html>