added a game over and restart functionality

This commit is contained in:
Chance Walter
2023-02-14 14:01:07 -06:00
parent c5913a2f47
commit 8826d007dd
4 changed files with 126 additions and 87 deletions
+4 -2
View File
@@ -2,9 +2,11 @@
<html>
<head>
<title>Gregory Crawford</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<a href="pong.html">Play pong here!</a>
<button class="button" type="button" onclick="window.location.href='pong.html'">Start Game</button>
<script src = "scripts.js"></script>
</body>
</html>