-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpingPong.html
More file actions
28 lines (28 loc) · 919 Bytes
/
Copy pathpingPong.html
File metadata and controls
28 lines (28 loc) · 919 Bytes
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
<html>
<head>
<title>Ping Pong</title>
<script src="pingPong.js"></script>
<link rel="stylesheet" type="text/css" href="pingPong.css">
<link href='https://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
</head>
<body onload="startGame()">
<img src="ping-pong.jpg" width="300px" height="300px">
<audio id="hit" src="sound.wav"></audio>
<audio id="game-over" src="gameOver.mp3" preload="auto"></audio>
<div id="score">
<b>For single player press S .To enter 2 player mode press T</b>
</div>
<img id="player" src="player.jpg" width="200px" height="200px">
<table id='score-board'>
<tr>
<td>Player 1</td>
<td>Player 2</td>
</tr>
<tr>
<td id='1'>0</td>
<td id='2'>0</td>
</tr>
</table>
<p style="position:absolute;bottom:0px;left:43%">Made with <span style="color:red;font-size:200%">♥</span> By Nandhini</p>
</body>
</html>