Source

ICFP 2011 ICRS / src / Icfp2011.Icrs.Bot / LtgBot.cs

Full commit
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Icfp2011.Icrs.Bot
{
    public abstract class LtgBot
    {
        public LtgBot()
        {
        }

        public LtgMatch Match
        {
            get;
            set;
        }

        public LtgPlayer Player
        {
            get;
            set;
        }

        public LtgPlayer OtherPlayer
        {
            get { return this.Match.GetOtherPlayer(this.Player); }
        }

        public abstract void Start();

        public abstract LtgAction DoAction();

        public abstract void OnProponentAction(LtgAction action);

        public abstract void OnOpponentThinking();

        public abstract void OnOpponentAction(LtgAction action);
    }
}