I'm mostly new to the serverside extensions and I'm trying to build my first one from scratch. The tutorials (video and documentation) are truly excellent, thanks for that!
I'm now working on a scenario that involves temporarily storing data which is touched upon by the documentation, but not very clear to me. I want to create an extension for a board game that collects data after each round and once all users have submitted their data for that round, it sends back all the collected data to every user (later I want to add storing it in a database).
Sending and receiving is not difficult, however, what would be a good way to store the data while collecting. I thought of putting it in a roomvariable so the extension can track multiple rooms/games, but is that the most sensible? I could just keep a list in the class, but then I would need to add identifiers for each round. Any opinions most appreciated!
Beginner question on design of an extension
Who is online
Users browsing this forum: Stevenor and 82 guests