|
@@ -15,8 +15,8 @@ class IllegalMove(Exception):
|
|
|
|
|
|
|
|
|
|
class MyBoard(chess.Board):
|
|
class MyBoard(chess.Board):
|
|
- def __init__(self):
|
|
|
|
- chess.Board.__init__(self)
|
|
|
|
|
|
+ def __init__(self, fen=chess.STARTING_FEN, chess960=False):
|
|
|
|
+ chess.Board.__init__(self, fen=fen, chess960=chess960)
|
|
|
|
|
|
self.captured_black = []
|
|
self.captured_black = []
|
|
self.captured_white = []
|
|
self.captured_white = []
|