trianta.dev/pong.html

21 lines
485 B
HTML
Raw Normal View History

2023-01-26 15:53:19 -06:00
<!DOCTYPE html>
<html>
2023-01-26 21:05:55 -06:00
2023-01-26 15:53:19 -06:00
<head>
<title>Pong Game</title>
2023-01-26 21:05:55 -06:00
<meta charset="UTF-8">
<link rel="stylesheet" href="css/pong.css">
2023-01-26 15:53:19 -06:00
</head>
<body>
2023-01-26 21:05:55 -06:00
<canvas width="750" height="585" id="game"></canvas>
<script src="js/pong.js"></script>
<div id="gameover" hidden="true">
<h1>Game Over</h1>
</div>
<div id="restart" hidden="true">
<button class="button" type="button" onclick = "restartGame()">Restart Game</a>
</div>
2023-01-26 15:53:19 -06:00
</body>
2023-01-26 21:05:55 -06:00
2023-01-26 15:53:19 -06:00
</html>