A mini game written in Java