Skip to content

Instantly share code, notes, and snippets.

@Srushtika
Created June 11, 2020 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Srushtika/bebcd81bfc67e315b45d26e5145246ea to your computer and use it in GitHub Desktop.
Save Srushtika/bebcd81bfc67e315b45d26e5145246ea to your computer and use it in GitHub Desktop.
Code snippet 33 - For multiplayer space invaders article
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Space Invaders</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Multiplayer space invaders" />
<link
id="favicon"
rel="icon"
href="https://glitch.com/edit/favicon-app.ico"
type="image/x-icon"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=VT323&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/style.css" />
</head>
<body class="winner-body">
<p>GAME OVER</p>
<div class="winner-div">
<p id="winner-announcement"></p>
</div>
<div class="runner-ups-div">
<p id="first-runnerup"></p>
<p id="second-runnerup"></p>
</div>
<script src="/gameover.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment