Minigame.java can be found here.