Esempio n. 1
0
        public static ICollection <PiecePlacement> PlaceStandardChessPeices
            (SquareBoard board, Player player1, Player player2)
        {
            ICollection <PiecePlacement> placedPieces = new List <PiecePlacement>();
            ICollection <Square>         squares      = AlgebraicNotatator.GetStandardChessSquares(board);

            return(placedPieces);
        }
Esempio n. 2
0
 public PickAndPlayService(PickAndPlaySettings settings)
 {
     Settings = settings;
     Board    = new SquareBoard(settings.BoardSize);
     Squares  = AlgebraicNotatator.GetStandardChessSquares(Board);
     Sender   = new GCoderSender();
     Sender.Start();
     Sender.SendHome();
     Sender.SetSepeed(Settings.Speed);
     State = new GameState();
 }