-1

I have asked a similar question recently, but I now realised that it didn't make any sense... So I thought of a dummy example. If you want to make an online game about football for example, or anything where you need online unique objects, how would you create the objects? for example, if players only need a skill variable and a name variable, what would a function to add a new player look like in python? No need to add syncing with a server or anything, but I'm confused as to how to identify the players in a unique way later, as you have to name the objects individually in the code? Sorry if this is confusing...

Jogvi
  • 24
  • 1
  • 6
  • *”as you have to name the objects individually in the code”* — Uhm, do you? A sample of what you *think* this needs to look like would help… – deceze May 28 '22 at 06:36
  • You’re *probably* asking for https://stackoverflow.com/questions/1373164/how-do-i-create-variable-variables‽ – deceze May 28 '22 at 06:48

0 Answers0