private void AddWhitePieces() { var fields = Board.Fields; var rook1 = new Rook(White, Board, fields[0, 0]); var rook2 = new Rook(White, Board, fields[7, 0]); var knight1 = new Knight(White, Board, fields[1, 0]); var knight2 = new Knight(White, Board, fields[6, 0]); var bishop1 = new Bishop(White, Board, fields[2, 0]); var bishop2 = new Bishop(White, Board, fields[5, 0]); var queen = new Queen(White, Board, fields[3, 0]); var king = new King(White, Board, fields[4, 0]); var pawn1 = new Pawn(White, Board, fields[0, 1]); var pawn2 = new Pawn(White, Board, fields[1, 1]); var pawn3 = new Pawn(White, Board, fields[2, 1]); var pawn4 = new Pawn(White, Board, fields[3, 1]); var pawn5 = new Pawn(White, Board, fields[4, 1]); var pawn6 = new Pawn(White, Board, fields[5, 1]); var pawn7 = new Pawn(White, Board, fields[6, 1]); var pawn8 = new Pawn(White, Board, fields[7, 1]); White.AddPiece(rook1); White.AddPiece(rook2); White.AddPiece(knight1); White.AddPiece(knight2); White.AddPiece(bishop1); White.AddPiece(bishop2); White.AddPiece(queen); White.AddPiece(king); White.AddPiece(pawn1); White.AddPiece(pawn2); White.AddPiece(pawn3); White.AddPiece(pawn4); White.AddPiece(pawn5); White.AddPiece(pawn6); White.AddPiece(pawn7); White.AddPiece(pawn8); }