Skip to content

Instantly share code, notes, and snippets.

@manavm1990
Created April 17, 2025 23:38
Show Gist options
  • Save manavm1990/2dab1815537383fc4af92853853b607f to your computer and use it in GitHub Desktop.
Save manavm1990/2dab1815537383fc4af92853853b607f to your computer and use it in GitHub Desktop.
const monsters = {
demons: {
easy: [
{ name: "Imp", health: 60, damage: 20 },
{ name: "Zombie", health: 20, damage: 10 }
],
medium: [
{ name: "Hell Knight", health: 500, damage: 45 },
{ name: "Cacodemon", health: 400, damage: 35 }
],
hard: [
{ name: "Baron of Hell", health: 1000, damage: 60 },
{ name: "Cyberdemon", health: 4000, damage: 80 }
]
},
weapons: {
basic: [
{ name: "Pistol", damage: 10 },
{ name: "Shotgun", damage: 30 }
],
advanced: [
{ name: "Plasma Rifle", damage: 70 },
{ name: "BFG 9000", damage: 100 }
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment