Imgflip Logo Icon

nothing nsfw

nothing nsfw | WHOEVER GIVES ME AN IDEA FOR A SCRATCH GAME THAT I MAKE GETS TO BE A PLAY TESTER OF THAT GAME | made w/ Imgflip meme maker
49 views 3 upvotes Made by Morpeko 3 weeks ago in MS_memer_group
7 Comments
1 up, 3w,
1 reply
A dungeon with crates but you are hunted by someone
0 ups, 3w,
1 reply
hmm.
what exactly do you do? just run?
I don't have the scratch experience to transfer items through inventories yet
0 ups, 3w,
1 reply
You walk with the view from above, the inventory never has to be seen but the creature hunting you will progressively try to stop you from looting the dungeon
0 ups, 3w,
2 replies
why does the stuff have to be collected if its doing nothing????????????????/
0 ups, 3w,
1 reply
The items will be used in the paths, where other, smaller bosses appear
0 ups, 3w
well i am too retarded to do that
0 ups, 3w
so after asking an ai I got this:
class DungeonGame {
constructor() {
this.rooms = [
{ crates: 5, hunterDistance: 3 },
{ crates: 4, hunterDistance: 2 },
{ crates: 3, hunterDistance: 1 },
{ crates: 2, hunterDistance: 0 },
{ crates: 1, hunterDistance: -1 }
];
this.currentRoom = 0;
this.health = 100;
this.loot = 0;
}

move(direction) {
if (direction === 'north' && this.currentRoom > 0) {
this.currentRoom--;
} else if (direction === 'south' && this.currentRoom < this.rooms.length - 1) {
this.currentRoom++;
}
this.updateHunterDistance();
}

openCrate() {
if (this.rooms[this.currentRoom].crates > 0) {
this.rooms[this.currentRoom].crates--;
this.loot++;
this.updateHunterDistance();
if (this.rooms[this.currentRoom].hunterDistance === 0) {
this.getCaught();
}
}
}

updateHunterDistance() {
this.rooms[this.currentRoom].hunterDistance--;
if (this.rooms[this.currentRoom].hunterDistance < 0) {
this.rooms[this.currentRoom].hunterDistance = 0;
}
}

getCaught() {
this.health -= 20;
if (this.health <= 0) {
console.log('Game Over!');
}
}

displayStatus() {
console.log(`Health: ${this.health}`);
console.log(`Loot: ${this.loot}`);
console.log(`Room: ${this.currentRoom + 1}`);
console.log(`Crates: ${this.rooms[this.currentRoom].crates}`);
console.log(`Hunter Distance: ${this.rooms[this.currentRoom].hunterDistance}`);
}
}

const game = new DungeonGame();
game.displayStatus();

// Example usage
game.openCrate();
game.move('south');
game.displayStatus();
not scratch but its still code
thank the ai who made this
Created with the Imgflip Meme Generator
IMAGE DESCRIPTION:
WHOEVER GIVES ME AN IDEA FOR A SCRATCH GAME THAT I MAKE GETS TO BE A PLAY TESTER OF THAT GAME