learing java, making easy game.