Beispiel #1
0
        public void BishopsFromCenterToCorners()
        {
            PickAndPlayService service = new PickAndPlayService(settings);

            service.IssueMove("Bd4-a1");
            service.IssueMove("Be4-h1");
            service.IssueMove("Bd5-a8");
            service.IssueMove("Be5-h8");
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            string text = System.IO.File.ReadAllText(@"Config.txt");
            PickAndPlaySettings settings = JsonConvert.DeserializeObject <PickAndPlaySettings>(text);
            PickAndPlayService  service  = new PickAndPlayService(settings);
            string ply;

            while (true)
            {
                try
                {
                    ply = console.ReadLine();
                    service.IssueMove(ply);
                }
                catch
                {
                    console.WriteLine("I'm sorry, your move could not be completed as entered.");
                }
            }
        }
Beispiel #3
0
 public void GetProperMove()
 {
     Service.IssueMove("Nc1-Nd3");
 }