Java implementation of Goblin game