The variable game_file_path is defined only within the if name == 'main' block, making it inaccessible in other parts of the program. This causes errors like:
NameError if itβs not defined.
FileNotFoundError if the file is missing or the path is invalid.