int file_exist(){ FILE *file; if((file = fopen(SCORE_FILE_NAME, "r"))){ fclose(file); return 1; } return 0; }