Little game in Java