Add empty files
This commit is contained in:
commit
df5b3296c6
3 changed files with 32 additions and 0 deletions
24
index.html
Normal file
24
index.html
Normal 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
5
js/main.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
window.addEventListener("load", () => main());
|
||||||
|
|
||||||
|
const main = () => {
|
||||||
|
console.log("Hi!");
|
||||||
|
};
|
3
run.sh
Executable file
3
run.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
python3 -m http.server -b 127.0.0.1 8080 --directory .
|
Reference in a new issue