protected override void TalkSmack(CardPileViewModel pile, IGameClient client)
        {
            base.TalkSmack(pile, client);

            if (pile.Name == "Province")
                client.SendChatMessage("Province muthafucka!");

            if (pile.Name == "Colony")
                client.SendChatMessage("COLONY! SUCK IT!");
        }
Ejemplo n.º 2
0
        protected override void TalkSmack(CardPileViewModel pile, IGameClient client)
        {
            base.TalkSmack(pile, client);

            if (pile.Name == "Province")
            {
                client.SendChatMessage("Province muthafucka!");
            }

            if (pile.Name == "Colony")
            {
                client.SendChatMessage("COLONY! SUCK IT!");
            }
        }
Ejemplo n.º 3
0
        protected override CardPileViewModel SelectPile(GameViewModel state, IGameClient client)
        {
            var options = GetValidBuys(state)
                .Where(pile => AISupportedActions.All.Contains(pile.Name))
                .OrderByDescending(pile => pile.Cost)
                .ThenBy(pile => _random.Next(100))
                .ToList();

            var message = string.Format("I considered {0}.", string.Join(", ", options.Select(x => x.Name).ToArray()));
            client.SendChatMessage(message);

            return options.FirstOrDefault();
        }
Ejemplo n.º 4
0
        protected override CardPileViewModel SelectPile(GameViewModel state, IGameClient client)
        {
            var options = GetValidBuys(state)
                          .Where(pile => AISupportedActions.All.Contains(pile.Name))
                          .OrderByDescending(pile => pile.Cost)
                          .ThenBy(pile => _random.Next(100))
                          .ToList();

            var message = string.Format("I considered {0}.", string.Join(", ", options.Select(x => x.Name).ToArray()));

            client.SendChatMessage(message);

            return(options.FirstOrDefault());
        }
Ejemplo n.º 5
0
 public virtual void Respond(IGameClient client, ActivityModel activity, GameViewModel state)
 {
     client.SendChatMessage(_comment);
 }