added code for pokemon game
This commit is contained in:
parent
166b85b5e7
commit
05d8a5b2ac
15 changed files with 243 additions and 0 deletions
28
objekter/index.html
Normal file
28
objekter/index.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue