Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Import alias ImportFrom alias Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Num For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num Call NameLoad NameLoad NameLoad Call NameLoad Num Num orelse If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad NameLoad orelse If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad Call NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AugAssignSub AttributeStore NameLoad attr Num AugAssignSub AttributeStore NameLoad attr Num orelse If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignSub AttributeStore NameLoad attr Num orelse If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignSub AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num AugAssignSub AttributeStore NameLoad attr Num orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignSub AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body For NameStore Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body For NameStore Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Return Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str For NameStore Call NameLoad Num Num Num body For NameStore Call NameLoad Num body Assign NameStore NameLoad For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Break Assign NameStore Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp CompareEq NameLoad NameLoad Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Str AugAssignAdd NameStore BinOpAdd NameLoad Str AugAssignAdd NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Str attr BinOpAdd BinOpAdd ListLoad Str BinOpMult Str Num ListComp BinOpMod Str TupleLoad BinOpSub Num NameLoad Call AttributeLoad NameLoad attr BinOpSub Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad BinOpMult Str Num Str attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Str If AttributeLoad NameLoad attr body Return Str If CompareNotEq AttributeLoad NameLoad attr Str body AugAssignAdd NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr Str body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body AugAssignAdd NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body AugAssignAdd NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body AugAssignAdd NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp BinOpSub Call NameLoad NameLoad Num comprehension NameStore NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpAdd Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Num attr NameLoad Call NameLoad BinOpAdd SubscriptLoad NameLoad Index Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareLtELtE Num SubscriptLoad NameLoad Index Num Num CompareLtELtE Num SubscriptLoad NameLoad Index Num Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body If CompareIs SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad NameLoad body Return Call NameLoad NameLoad BinOpSub Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad BinOpSub Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num orelse If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignSub AttributeStore NameLoad attr BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignSub AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr UnaryOpNot NameLoad Return NameLoad If CompareEq NameLoad NameLoad body Return AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Return UnaryOpUSub AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body If BoolOpOr NameLoad CompareNotEq AttributeLoad NameLoad attr Str body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr UnaryOpNot NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A Pawn Pawn Rook Rook King King Bishop Bishop Knight Knight Queen Queen Piece Piece Coordinate Coordinate C termcolor colored N/A copy Move Move N/A WHITE True N/A BLACK False Board N/A N/A __init__ N/A N/A self mateInOne castleBoard pessant promotion N/A False False False False N/A N/A N/A self pieces N/A N/A N/A self history N/A N/A N/A self points 0 N/A N/A self currentSide WHITE N/A N/A self movesMade 0 N/A N/A self checkmate False N/A N/A N/A mateInOne N/A castleBoard N/A pessant N/A promotion N/A N/A N/A N/A N/A self pieces extend N/A N/A Rook self BLACK N/A C 0 7 N/A Knight self BLACK N/A C 1 7 N/A Bishop self BLACK N/A C 2 7 N/A Queen self BLACK N/A C 3 7 N/A King self BLACK N/A C 4 7 N/A Bishop self BLACK N/A C 5 7 N/A Knight self BLACK N/A C 6 7 N/A Rook self BLACK N/A C 7 7 N/A x N/A range 8 N/A N/A N/A N/A N/A self pieces append N/A Pawn self BLACK N/A C x 6 N/A x N/A range 8 N/A N/A N/A N/A N/A self pieces append N/A Pawn self WHITE N/A C x 1 N/A N/A N/A N/A self pieces extend N/A N/A Rook self WHITE N/A C 0 0 N/A Knight self WHITE N/A C 1 0 N/A Bishop self WHITE N/A C 2 0 N/A Queen self WHITE N/A C 3 0 N/A King self WHITE N/A C 4 0 N/A Bishop self WHITE N/A C 5 0 N/A Knight self WHITE N/A C 6 0 N/A Rook self WHITE N/A C 7 0 N/A N/A promotion N/A N/A pawnToPromote N/A Pawn self WHITE N/A C 1 6 N/A N/A pawnToPromote movesMade 1 N/A kingWhite N/A King self WHITE N/A C 4 0 N/A kingBlack N/A King self BLACK N/A C 3 2 N/A N/A N/A N/A self pieces extend N/A pawnToPromote kingWhite kingBlack N/A N/A pessant N/A N/A pawn N/A Pawn self WHITE N/A C 1 4 N/A pawn2 N/A Pawn self BLACK N/A C 2 6 N/A kingWhite N/A King self WHITE N/A C 4 0 N/A kingBlack N/A King self BLACK N/A C 3 2 N/A N/A N/A N/A self pieces extend N/A pawn pawn2 kingWhite kingBlack N/A N/A self history N/A N/A N/A self currentSide BLACK N/A N/A self points 0 N/A N/A self movesMade 0 N/A N/A self checkmate False N/A firstMove N/A Move pawn2 N/A C 2 4 N/A N/A N/A self makeMove firstMove N/A N/A self currentSide WHITE N/A N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self wrapStringRep N/A N/A self makeStringRep N/A self pieces N/A undoLastMove N/A N/A self N/A N/A N/A N/A lastMove pieceTaken N/A N/A N/A self history pop N/A N/A N/A lastMove queensideCastle N/A lastMove kingsideCastle N/A N/A king N/A lastMove piece N/A rook N/A lastMove specialMovePiece N/A N/A N/A self movePieceToPosition king N/A lastMove oldPos N/A N/A N/A self movePieceToPosition rook N/A N/A lastMove rookMove oldPos N/A N/A king movesMade 1 N/A N/A rook movesMade 1 N/A N/A N/A lastMove pessant N/A N/A pawnMoved N/A lastMove piece N/A pawnTaken pieceTaken N/A N/A N/A N/A self pieces append pawnTaken N/A N/A N/A self movePieceToPosition pawnMoved N/A lastMove oldPos N/A N/A pawnMoved movesMade 1 N/A N/A N/A pawnTaken side WHITE N/A N/A N/A self points 1 N/A N/A N/A pawnTaken side BLACK N/A N/A N/A self points 1 N/A N/A N/A lastMove promotion N/A N/A pawnPromoted N/A lastMove piece N/A promotedPiece N/A N/A self pieceAtPosition N/A lastMove newPos N/A N/A N/A N/A self pieces remove promotedPiece N/A N/A N/A N/A self pieces append pawnPromoted N/A N/A N/A pawnPromoted side WHITE N/A N/A N/A self points N/A N/A promotedPiece value 1 N/A N/A N/A N/A pawnPromoted side BLACK N/A N/A N/A self points N/A N/A promotedPiece value 1 N/A N/A pawnPromoted movesMade 1 N/A N/A pieceToMoveBack N/A lastMove piece N/A N/A N/A self movePieceToPosition pieceToMoveBack N/A lastMove oldPos N/A pieceTaken N/A N/A N/A N/A pieceTaken side WHITE N/A N/A N/A self points N/A pieceTaken value N/A N/A N/A pieceTaken side BLACK N/A N/A N/A self points N/A pieceTaken value N/A N/A N/A self addPieceToPosition pieceTaken N/A lastMove newPos N/A N/A N/A N/A self pieces append pieceTaken N/A N/A pieceToMoveBack movesMade 1 N/A N/A self currentSide N/A N/A self currentSide N/A isCheckmate N/A N/A self N/A N/A N/A N/A N/A len N/A N/A self getAllMovesLegal N/A self currentSide 0 N/A N/A move N/A N/A self getAllMovesUnfiltered N/A N/A self currentSide N/A N/A pieceToTake N/A move pieceToCapture N/A N/A pieceToTake N/A N/A pieceToTake stringRep K N/A N/A True N/A False N/A isStalemate N/A N/A self N/A N/A N/A N/A N/A len N/A N/A self getAllMovesLegal N/A self currentSide 0 N/A N/A move N/A N/A self getAllMovesUnfiltered N/A N/A self currentSide N/A N/A pieceToTake N/A move pieceToCapture N/A N/A pieceToTake N/A N/A pieceToTake stringRep K N/A N/A False N/A True N/A False N/A getLastMove N/A N/A self N/A N/A N/A N/A self history N/A N/A N/A N/A N/A self history N/A -1 N/A 0 N/A getLastPieceMoved N/A N/A self N/A N/A N/A N/A self history N/A N/A N/A N/A N/A N/A self history N/A -1 N/A 0 piece N/A addMoveToHistory N/A N/A self move N/A N/A N/A pieceTaken None N/A N/A move pessant N/A N/A pieceTaken N/A move specialMovePiece N/A N/A N/A N/A self history append N/A move pieceTaken N/A N/A pieceTaken N/A move pieceToCapture N/A pieceTaken N/A N/A N/A N/A N/A self history append N/A move pieceTaken N/A N/A N/A N/A N/A self history append N/A move None N/A getCurrentSide N/A N/A self N/A N/A N/A N/A self currentSide N/A makeStringRep N/A N/A self pieces N/A N/A N/A stringRep N/A y N/A range 7 -1 -1 N/A N/A x N/A range 8 N/A N/A piece None N/A p pieces N/A N/A N/A N/A p position N/A C x y N/A N/A piece p N/A N/A pieceRep N/A piece N/A N/A side N/A piece side N/A color N/A N/A side WHITE blue red N/A pieceRep N/A colored N/A piece stringRep color N/A N/A pieceRep x N/A stringRep N/A pieceRep N/A stringRep N/A stringRep N/A N/A stringRep strip N/A stringRep N/A wrapStringRep N/A N/A self stringRep N/A N/A N/A sRep N/A N/A N/A N/A join N/A N/A N/A    a b c d e f g h    N/A 21 N/A N/A %d  %s  %d N/A N/A 8 r N/A N/A s strip N/A 8 r N/A N/A r s N/A enumerate N/A N/A stringRep split N/A N/A 21    a b c d e f g h    rstrip N/A sRep N/A rankOfPiece N/A N/A self piece N/A N/A N/A N/A str N/A N/A N/A piece position N/A 1 1 N/A fileOfPiece N/A N/A self piece N/A N/A N/A transTable N/A N/A str maketrans 01234567 abcdefgh N/A N/A N/A N/A str N/A N/A piece position N/A 0 translate transTable N/A getShortNotationOfMove N/A N/A self move N/A N/A N/A notation N/A pieceToMove N/A move piece N/A pieceToTake N/A move pieceToCapture N/A N/A move queensideCastle N/A N/A 0-0-0 N/A N/A move kingsideCastle N/A N/A 0-0 N/A N/A N/A pieceToMove stringRep p N/A N/A notation N/A pieceToMove stringRep N/A N/A pieceToTake None N/A N/A N/A N/A pieceToMove stringRep p N/A N/A notation N/A N/A self fileOfPiece pieceToMove N/A notation x N/A notation N/A N/A self positionToHumanCoord N/A move newPos N/A N/A move promotion N/A N/A notation N/A = N/A str N/A N/A move specialMovePiece stringRep N/A notation N/A getShortNotationOfMoveWithFile N/A N/A self move N/A N/A N/A notation N/A pieceToMove N/A N/A self pieceAtPosition N/A move oldPos N/A pieceToTake N/A N/A self pieceAtPosition N/A move newPos N/A N/A N/A pieceToMove stringRep p N/A N/A notation N/A pieceToMove stringRep N/A notation N/A N/A self fileOfPiece pieceToMove N/A N/A pieceToTake None N/A N/A notation x N/A notation N/A N/A self positionToHumanCoord N/A move newPos N/A notation N/A getShortNotationOfMoveWithRank N/A N/A self move N/A N/A N/A notation N/A pieceToMove N/A N/A self pieceAtPosition N/A move oldPos N/A pieceToTake N/A N/A self pieceAtPosition N/A move newPos N/A N/A N/A pieceToMove stringRep p N/A N/A notation N/A pieceToMove stringRep N/A notation N/A N/A self rankOfPiece pieceToMove N/A N/A pieceToTake None N/A N/A notation x N/A notation N/A N/A self positionToHumanCoord N/A move newPos N/A notation N/A getShortNotationOfMoveWithFileAndRank N/A N/A self move N/A N/A N/A notation N/A pieceToMove N/A N/A self pieceAtPosition N/A move oldPos N/A pieceToTake N/A N/A self pieceAtPosition N/A move newPos N/A N/A N/A pieceToMove stringRep p N/A N/A notation N/A pieceToMove stringRep N/A notation N/A N/A self fileOfPiece pieceToMove N/A notation N/A N/A self rankOfPiece pieceToMove N/A N/A pieceToTake None N/A N/A notation x N/A notation N/A N/A self positionToHumanCoord N/A move newPos N/A notation N/A N/A humanCoordToPosition N/A N/A self coord N/A N/A N/A transTable N/A N/A str maketrans abcdefgh 12345678 N/A coord N/A N/A coord translate transTable N/A coord N/A N/A N/A int c 1 N/A c coord N/A pos N/A C N/A coord N/A 0 N/A coord N/A 1 N/A pos N/A positionToHumanCoord N/A N/A self pos N/A N/A N/A transTable N/A N/A str maketrans 01234567 abcdefgh N/A notation N/A N/A N/A N/A str N/A pos N/A 0 translate transTable N/A str N/A N/A pos N/A 1 1 N/A notation N/A isValidPos N/A N/A self pos N/A N/A N/A N/A N/A 0 N/A pos N/A 0 7 N/A 0 N/A pos N/A 1 7 N/A N/A True N/A N/A False N/A getSideOfMove N/A N/A self move N/A N/A N/A N/A N/A move piece side N/A getPositionOfPiece N/A N/A self piece N/A N/A N/A y N/A range 8 N/A N/A x N/A range 8 N/A N/A N/A N/A N/A N/A self boardArray N/A y N/A x piece N/A N/A N/A C x N/A 7 y N/A pieceAtPosition N/A N/A self pos N/A N/A N/A piece N/A self pieces N/A N/A N/A N/A piece position pos N/A N/A piece N/A movePieceToPosition N/A N/A self piece pos N/A N/A N/A N/A piece position pos N/A addPieceToPosition N/A N/A self piece pos N/A N/A N/A N/A piece position pos N/A clearPosition N/A N/A self pos N/A N/A N/A N/A x y N/A N/A self coordToLocationInArray pos N/A N/A N/A N/A self boardArray N/A x N/A y None N/A coordToLocationInArray N/A N/A self pos N/A N/A N/A N/A N/A 7 N/A pos N/A 1 N/A pos N/A 0 N/A locationInArrayToCoord N/A N/A self loc N/A N/A N/A N/A N/A loc N/A 1 N/A 7 N/A loc N/A 0 N/A makeMove N/A N/A self move N/A N/A N/A N/A N/A self addMoveToHistory move N/A N/A N/A move kingsideCastle N/A move queensideCastle N/A N/A kingToMove N/A move piece N/A rookToMove N/A move specialMovePiece N/A N/A N/A self movePieceToPosition kingToMove N/A move newPos N/A N/A N/A self movePieceToPosition rookToMove N/A move rookMovePos N/A N/A kingToMove movesMade 1 N/A N/A rookToMove movesMade 1 N/A N/A N/A move pessant N/A N/A pawnToMove N/A move piece N/A pawnToTake N/A move specialMovePiece N/A N/A pawnToMove position N/A move newPos N/A N/A N/A N/A self pieces remove pawnToTake N/A N/A pawnToMove movesMade 1 N/A N/A N/A move promotion N/A N/A N/A N/A N/A self pieces remove N/A move piece N/A N/A N/A N/A self pieces append N/A move specialMovePiece N/A N/A N/A N/A move piece side WHITE N/A N/A N/A self points N/A N/A N/A move specialMovePiece value 1 N/A N/A N/A N/A move piece side BLACK N/A N/A N/A self points N/A N/A N/A move specialMovePiece value 1 N/A N/A pieceToMove N/A move piece N/A pieceToTake N/A move pieceToCapture N/A pieceToTake N/A N/A N/A N/A pieceToTake side WHITE N/A N/A N/A self points N/A pieceToTake value N/A N/A N/A pieceToTake side BLACK N/A N/A N/A self points N/A pieceToTake value N/A N/A N/A N/A self pieces remove pieceToTake N/A N/A N/A self movePieceToPosition pieceToMove N/A move newPos N/A N/A pieceToMove movesMade 1 N/A N/A self movesMade 1 N/A N/A self currentSide N/A N/A self currentSide N/A getPointValueOfSide N/A N/A self side N/A N/A N/A points 0 N/A piece N/A self pieces N/A N/A N/A N/A piece side side N/A N/A points N/A piece value N/A points N/A getPointAdvantageOfSide N/A N/A self side N/A N/A N/A pointAdvantage N/A N/A N/A self getPointValueOfSide side N/A N/A self getPointValueOfSide N/A side N/A pointAdvantage N/A N/A side WHITE N/A N/A N/A self points N/A N/A side BLACK N/A N/A N/A N/A self points N/A getAllMovesUnfiltered N/A N/A self side includeKing N/A True N/A N/A unfilteredMoves N/A N/A piece N/A self pieces N/A N/A N/A N/A piece side side N/A N/A N/A includeKing N/A N/A piece stringRep K N/A N/A move N/A N/A piece getPossibleMoves N/A N/A N/A N/A unfilteredMoves append move N/A unfilteredMoves N/A testIfLegalBoard N/A N/A self side N/A N/A N/A move N/A N/A self getAllMovesUnfiltered side N/A N/A pieceToTake N/A move pieceToCapture N/A N/A pieceToTake N/A N/A pieceToTake stringRep K N/A N/A False N/A True N/A moveIsLegal N/A N/A self move N/A N/A N/A side N/A N/A move piece side N/A N/A N/A self makeMove move N/A isLegal N/A N/A self testIfLegalBoard N/A side N/A N/A N/A self undoLastMove N/A isLegal N/A getAllMovesLegal N/A N/A self side N/A N/A N/A unfilteredMoves N/A list N/A N/A self getAllMovesUnfiltered side N/A legalMoves N/A N/A move unfilteredMoves N/A N/A N/A N/A self moveIsLegal move N/A N/A N/A N/A legalMoves append move N/A legalMoves N/A N/A