Sharing game rules
Let your client evaluate game rules without maintaining two copies of your logic.
Read time 1 minuteLast updated 12 days ago
CloudBehaviours keep the authoritative game rules on the server. A client still needs some of that rule information to give players feedback, such as disabling a move that isn't legal. Choose one of the following approaches, depending on how complex the rules are.