Exemplo n.º 1
0
        private void ExecuteFaceOff(Game game)
        {
            if (!game.Board.IsReadyForFaceoff())
                return;

            var faceoffResult = game.ExecuteFaceOff();

            Clients[game.HomeUser.ClientId].faceOffResult(faceoffResult.GetHomeResult());
            Clients[game.AwayUser.ClientId].faceOffResult(faceoffResult.GetAwayResult());
        }