#store this without exposing anything to the client
1 messages · Page 1 of 1 (latest)
currently I'm just having the players build their decks offline and then send those decks when they connect. after that everything is managed by the server
eventually I'll need some kind of deck validation process
ah, i see. I feel like down the line it might be a pain to solve once the codebase is too large, so I'm trying to knock it on the head now. The main thing tripping me up is that clients aren't connected to a server until they get into a game - so there's currently no way to handle this outside the client app
Its possible to store things with Cloud Save and then possibly do some kind of validation with Cloud Code
Had looked at cloud code, does look like it might be a way. Could expose methods to the client that allow them to update their collection/decks through cloud code, and then have the server read their current deck from their cloud save
that's my plan