Simple Game in Java Console