Whac A Mole

[Addon for GameBox] ( Spigot | Source )



Whac A Mole is a game about hitting moles back into their holes. The goal is to reach the highest score possible by not missing a single mole.

To start a game open the GameBox gui with /gb and select the game Whac A Mole. Or use the shortcut command /gb wam to directly open the Whac A Mole GUI. In the games GUI you can (by default) choose between two different gamemodes or look at the 'Creepers chasing humans' top list. For more info about how to add more gamemodes and/or top lists read the section configuration.



The real game features some holes for the moles to come out and a hammer to hit them back. In my implementation the 'classic' gamemode consists of 4 "holes" in an inventory and you have to click on the moles before they disappear again. Your score and the left over time is displayed in the inventory title.

Classic Whac A Mole



Additionally to this classic gamemode I came up with a minecraft specific mode. In the 'Creepers chasing humans' gamemode creepers and humans randomly show up anywhere in your inventory. You have to click on all the creepers without hitting the humans.

Creepers chasing humans