I'm writing a mini multiplayer game, in which a player create a room and others join and play.
Once the game ends, the room closes and the players' data are being discarded.
Therefore, I need to store room data, which contains the players' details (nickname, playerid, playerteam).
I wonder which is a better way of storing the data:
1. Use a Player.tscn node under Room node.
2. Save the players' data as a dictionary in Room.gd.
Which would you go with and why?
Thanks in advance!