I have this idea with the game where the introduction screen. The player can input their name and if they want two options be a “fighter” or “wizard”. What I have come up with so far is, create a text file, either “fighter.txt” or “wizard.txt” that can later on be read() and split() using a delimiter to get what type of character will fighter the poor monster.
That seems to be ok, however on searching on the topic I have read that doing this way is bad which then made me think. How could it be done better, considering all scenes or rooms are in separated classes in separate .py files. Any ideas?