ช่วยดูโค้ดเกมส์HangmanของภาษาCหน่อยค่ะว่าผิดตรงไหน

ไม่เข้าใจจริงๆค่ะว่ามันผิดตรงไหน ช่วยดูให้หน่อยนะคะ
รันไม่ผ่านสักที
#include <stdio.h>
#include <conio.h>
#include <string.h>
main()
{
    char fruit[5][20]= {"apple","banana","cherry","orange","strawberry"};
    char show[20],old_guess[100];
    int choice,i,j=0,check=0,guess=0,status=0;
    char guess_word;
    cls();
     printf("Hangman game\n");
     printf("Please select choice 1-5:");
     scanf("%d",&choice);
     for(i=0;i<strlen(fruit[choice-1]);i++){
          if(fruit[choice-1]=='a' || fruit[choice-1]=='e'|| fruit[choice-1]=='i'|| fruit[choice-1]=='o'|| fruit[choice-1]=='u'){
               show = fruit[choice-1];
               old_guess[j++] = fruit[choice-1];
               guess++;
       }
           else
            show = '-';
       }
       show='\0';
       guess = strlen(fruit[choice-1])-guess;
       printf("Please guess word\n");
       for(i=0;i<strlen(show);i++);
         printf("%c",show);
        printf("\n\n");
        while(check!=guess){
            guess_word = getche();
            printf("\n");
            for(i=0;i<strlen(old_guess);i++){
              if(old_guess==guess_word){
                      status = 1;
                      break;
                     
              }
        }
            if(status!=1){
              old_guess[j++] = guess_word;
                    for(i=0;i<strlen(fruit[choice-1]);i++){
                    if(fruit[choice-1]==guess_word){
                        check++;
                        show = guess_word;
                        
                    }
            }
            }
           for(i=0;i<strlen(show);i++)
             printf("%c",show);
            printf("\n\n");
            status=0;
        }
        printf("Congratulation,you win !!!\n");
        getch();
    }
แก้ไขข้อความเมื่อ
แสดงความคิดเห็น
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน อ่านเพิ่มเติมได้ที่นี่