Beispiel #1
0
 def setUp(self) -> None:
     fen = "8/8/8/8/8/8/8/8 w KQkq - 0 1"
     self.chess_game = ChessGame(fen=fen)  # empty board
     self.chess_game.board[0][0] = Queen(self.chess_game, Color.WHITE, 0, 0)
     self.chess_game.board[3][3] = Queen(self.chess_game, Color.BLACK, 3, 3)
     self.chess_game.board[1][3] = King(self.chess_game, Color.BLACK, 1, 3)