Pong
This commit is contained in:
parent
d7f0070a64
commit
d483541dcb
12 changed files with 884 additions and 1 deletions
23
build/index.html
Normal file
23
build/index.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
body {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #aaaaaa;
|
||||
}
|
||||
canvas {
|
||||
background-color: black;
|
||||
}
|
||||
</style>
|
||||
<title>Pong</title>
|
||||
</head>
|
||||
<script type="module">
|
||||
import init from './pong.js';
|
||||
init();
|
||||
</script>
|
||||
</html>
|
||||
Loading…
Reference in a new issue