Esempio n. 1
0
        public void ChooseCard(string gameKey, int x, int y, Color player)
        {
            var choiceInfo = _gameServices.NewChoice(gameKey, x, y, player);

            Clients.Group(gameKey).AgentChoose(new ChooseCardResult
            {
                X         = choiceInfo.X,
                Y         = choiceInfo.Y,
                CardColor = choiceInfo.CardColor,
                TurnEnd   = choiceInfo.TurnEnd
            });
        }