You must survive for as long as possible. Try to beat the highscore! a/d to move q/w to attack (w is a power attack) They deal 1 and 2 damage respectively. Hunger: Gradually decreases, and decreases by using power attacks and cooking. Increases by eating (pick up apples or kill animals and cook the meat in the stove) Health: Decreases when hunger is low or when attacked by zombies. Increases by drinking potions (dropped by zombies) Chicken: 5 HP, tries to run away, drops 1 chicken Pig: 6 HP, tries to run away, drops 1 porkchop Zombie: 8 HP, hostile, drops 1 potion and 2 gold
Based off Minecraft. Update Log: V1.0 (Feb 14, 2017 - Valentine's day) Shared! V1.0.1 (Feb 15, 2017) Fixed some glitch. V1.1 (Feb 16, 2017) Decreased all spawn rates! Reset cloud. V1.1.1 (Feb 27, 2018) Changed arrow controls to a/d, potions now only increase health by 1 to prevent imbalance, increased chicken spawn rate from 20-25 seconds to 25-30 seconds to prevent imbalance. Reset cloud. V1.2 (Mar 1, 2018) The cooking buttons now don't appear if the oven is already in use or you don't have enough hunger. Changed oven image to Minecraft furnace and player image to Minecraft Steve (flipped image left-right so it is more realistic). Fixed a glitch in the pig's run-away-from-player code (it was following the player instead of running away from him). Decreased zombie's attack rate from 1.5 seconds to 1 second. Decreased player movement speed from 8 to 4, but if you hold the button you can continuously move, and I cleaned up the player's code removing one now unnecessary green flag clicked + forever loop. Player now walks in front of oven. When you reach 0 health you now immediately die. Reset cloud. V1.2.1 (Mar 8, 2018) Added timer display throughout the game, not just at the end. Changed variable displays to large display with Scratch text. V1.2.2 (Sep 29, 2018) First update in a while! Added gold and a shop. Gold can be gained by killing zombies only, and is currently useless. The shop is also currently useless. I may soon add things you can buy like weapon upgrades and a mine where you can get gold every once in a while, or a door to your house blocking you and zombies, etc. until you open it.