Step1: 일단 else if문을 통과해 CAT-JUMP를 37번 해야함 void StartGame() { char cat_name[32]; char cmd[64]; // 생략 srand(time(NULL)); catnip = 0; jump_cnt = 0; puts("let the cat reach the roof! 🐈"); sleep(1); do { obstacle = rand() % 2; do { printf("left jump='h', right jump='j': "); scanf("%c%*c", &input); } while (input != 'h' && input != 'l'); if (catnip) { catnip--; jump_cnt++; puts("the cat powered up and..