Warning: count(): Parameter must be an array or an object that implements Countable in /home/yukuri/crypto-app.tokyo/public_html/AIGameCreator/Com0.php on line 157

Warning: in_array() expects parameter 2 to be array, bool given in /home/yukuri/crypto-app.tokyo/public_html/AIGameCreator/Com0.php on line 476

Warning: count(): Parameter must be an array or an object that implements Countable in /home/yukuri/crypto-app.tokyo/public_html/AIGameCreator/Com0.php on line 484
どうぶつスクールシミュレーターのアップデートを放棄した開発者ひさしは地獄に堕ちろ!'s game | AI game creator

Click here for free DL of the app version that can save data.
No:39035 92
Prev Next
どうぶつスクールシミュレーターのアップデートを放棄した開発者ひさしは地獄に堕ちろ!
Developer どうスクのアプデ早くしろよ!🤬💢|Date and time 24/1/26 12:15:29
Build time 8.693 sec|Game capacity 1.532KB|Script

var Animal = { name: "", hunger: 0, happiness: 0, energy: 0, play: function() { this.hunger += 1; this.happiness += 2; this.energy -= 1; console.log(this.name + " is playing!"); }, feed: function() { this.hunger -= 2; this.happiness += 1; console.log(this.name + " is fed!"); }, sleep: function() { this.hunger += 1; this.happiness -= 1; this.energy += 3; console.log(this.name + " is sleeping!"); }, status: function() { console.log(this.name + "'s status: hunger - " + this.hunger + ", happiness - " + this.happiness + ", energy - " + this.energy); } }; var pet = Object.create(Animal); pet.name = "Pet"; document.addEventListener("DOMContentLoaded", function(event) { var playButton = document.getElementById("play"); playButton.addEventListener("click", function() { pet.play(); pet.status(); }); var feedButton = document.getElementById("feed"); feedButton.addEventListener("click", function() { pet.feed(); pet.status(); }); var sleepButton = document.getElementById("sleep"); sleepButton.addEventListener("click", function() { pet.sleep(); pet.status(); }); });

Welcome to Animal Simulator

Click the buttons below to interact with your pet:




Prev Next   Back  0  0 Menu 

[PR]現在の人気グッズランキング

Click here for free DL of the app version that can save data.

(C)2023 HisashiApp