forked from A-Ayush/Ping-Pong-Game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (30 loc) · 864 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PingPong Game</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<!-- ---- player 1 contol ---- -->
<div id="top-handle">
<span class="player-name">Player 1</span>
</div>
<!-- ---- ball ---- -->
<div id="ball"></div>
<!-- ---- player 2 contol ---- -->
<div id="bottom-handle">
<span class="player-name">Player 2</span class="player-name">
</div>
<!-- ---- Display game info ---- -->
<div id = "info">
<div id="show-winner-info">
<h1>0:0</h2>
<h2>Press Enter to Start</h3>
<h3>Max Score: 4</h4>
</div>
</div>
<script src="script.js"></script>
</body>
</html>