Add empty files

This commit is contained in:
Mylloon 2022-11-07 09:10:20 +01:00
commit df5b3296c6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 32 additions and 0 deletions

24
index.html Normal file
View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Moteur de jeu • Projet</title>
<style>
body {
margin: 0px;
}
canvas {
border: 1px solid black;
}
</style>
</head>
<body>
<canvas id="canvas" width="1280" height="720"></canvas>
<script type="module" src="./js/main.js"></script>
</body>
</html>

5
js/main.js Normal file
View file

@ -0,0 +1,5 @@
window.addEventListener("load", () => main());
const main = () => {
console.log("Hi!");
};

3
run.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
python3 -m http.server -b 127.0.0.1 8080 --directory .