Fix position.

This commit is contained in:
Marco 2023-07-03 20:05:14 +02:00
parent 9ce188ae32
commit c3d747a60e

View File

@ -35,14 +35,6 @@ class ChessPosition {
pos[ChessCoordinate(i, 2)] = pos[ChessCoordinate(i, 2)] =
ChessPiece(ChessPieceClass.pawn, ChessColor.white); ChessPiece(ChessPieceClass.pawn, ChessColor.white);
} }
pos[ChessCoordinate(1, 7)] =
ChessPiece(ChessPieceClass.pawn, ChessColor.white);
pos[ChessCoordinate(2, 7)] =
ChessPiece(ChessPieceClass.pawn, ChessColor.white);
pos[ChessCoordinate(8, 4)] =
ChessPiece(ChessPieceClass.king, ChessColor.white);
pos[ChessCoordinate(8, 6)] =
ChessPiece(ChessPieceClass.king, ChessColor.black);
pos[ChessCoordinate(1, 8)] = pos[ChessCoordinate(1, 8)] =
ChessPiece(ChessPieceClass.rook, ChessColor.black); ChessPiece(ChessPieceClass.rook, ChessColor.black);