The game in Java