/// <summary> /// The gameroom hosting this game will call the following method whenever a user disconnects. It`s up to you /// to decide whether the game can continue without the specified user or it should end. /// </summary> protected override void OnUserDisconnect(CGWeb.User user) { OnGameEnded(EventArgs.Empty); }
/// <summary> /// This method should return true if the specified user can act in the current moment and false otherwise. /// </summary> public override bool IsUserOnTheMove(CGWeb.User user) { return true; }