A simple game written in Java