Update and rename check if it end.c to SP_finish_game_(ended).c