added a game over and restart functionality
This commit is contained in:
+4
-2
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user