added code for pokemon game

This commit is contained in:
Geir Okkenhaug Jerstad 2024-09-19 11:10:04 +02:00
parent 166b85b5e7
commit 05d8a5b2ac
15 changed files with 243 additions and 0 deletions

28
objekter/index.html Normal file
View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="app"></div>
<script>
let pokemon = {
picachu: {
health: 100,
level: 14,
image: "img/pikachu.png",
sound: "audio/pikachu.vaw"
},
otherPoke: {
health: 100,
},
ekans: {
health: 1000,
}
}
</script>
</body>
</html>