-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (48 loc) · 1.67 KB
/
index.html
File metadata and controls
51 lines (48 loc) · 1.67 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
<!DOCTYPE.html>
<html prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8" />
<title>Re-Pong</title>
<meta property="og:title" content="Re-PONG!" />
<meta property="og:type" content="game" />
<meta property="og:url" content="http://repong.win/img/" />
<meta property="og:image" content="http://repong.win/img/re-pong-310x310.png" />
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
</head>
<body>
<header>
<nav>
<h1><a href="index.html">Re-Pong</a>!</h1>
<ul>
<li><a href="about.html">About</a></li>
<li><a href="leaderboard.html">Leaderboard</a></li>
</ul>
</nav>
</header>
<canvas id="game" style="display: none;"></canvas>
<article id="start">
<form id="start_game">
<fieldset>
<legend>Enter Player Names</legend>
<br>
<label for="playerone"></label>
<input name="playerone" type="text" value="Player 1">
<label for="playertwo"></label>
<input name="playertwo" type="text" value="Player 2">
<button id="button" type="submit">PLAY!</button>
<h1>Ctrls</h1>
<p>P1: W and S</p>
<p>P2: <span>⇡</span> and <span>⇣</span></p>
</fieldset>
</form>
</article>
<footer>
<h3>Original Pong code written by Mailson Daniel Lira Menezes.</h3>
<button id="blog"><a href="http://blog.mailson.org/2013/02/simple-pong-game-using-html5-and-canvas/#read-more" target="_blank">Check out his tutorial.</a></button>
</footer>
<script src="pong.js" type="text/javascript"></script>
<script src="app.js" type="text/javascript"></script>
</body>
</html>