I'm working on a game in Python and want to be able to generate random characters (think characters in an RPG with random stats, moves, levels, races, etc.) and have them be interacted with. I would also like for the game to be able to generate an infinite number of randomly generated characters. It's easy enough to generate the information, but I don't know how to assign them to an object and refer back to that object later. I realize this is probably a pretty complicated procedure, so if I could just get pointed in the right direction to learn how to do it it would be much appreciated.
Aucun commentaire:
Enregistrer un commentaire