Classic Game in Java