You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the point difference is : 3
It's your move, what do you want to do? Type '?' for options. dxe7
Making move : dxe7
R N x K Q B x R
p p x B p p p p
x x p x x x x x
x x x x x x x x
x x x p x x x x
x x x x x p x x
p p p x x x p R
R N B K Q B N x
AI thinking...
Traceback (most recent call last):
File "main.py", line 122, in
startGame(board, playerSide, opponentAI)
File "main.py", line 113, in startGame
move = ai.getBestMove()
File "/tmp/command-line-chess-master/AI.py", line 123, in getBestMove
moveTree = self.generateMoveTree()
File "/tmp/command-line-chess-master/AI.py", line 78, in generateMoveTree
self.populateNodeChildren(node)
File "/tmp/command-line-chess-master/AI.py", line 91, in populateNodeChildren
legalMoves = self.board.getAllMovesLegal(side)
File "/tmp/command-line-chess-master/Board.py", line 397, in getAllMovesLegal
if self.moveIsLegal(move) :
File "/tmp/command-line-chess-master/Board.py", line 388, in moveIsLegal
self.undoLastMove()
File "/tmp/command-line-chess-master/Board.py", line 89, in undoLastMove
self.pieces.remove(promotedPiece)
File "/tmp/command-line-chess-master/Piece.py", line 37, in eq
if self.board == other.board and self.side == other.side and self.position == other.position and self.class == other.class:
AttributeError: 'NoneType' object has no attribute 'board'
The text was updated successfully, but these errors were encountered:
Currently, the point difference is : 3
It's your move, what do you want to do? Type '?' for options. dxe7
Making move : dxe7
R N x K Q B x R
p p x B p p p p
x x p x x x x x
x x x x x x x x
x x x p x x x x
x x x x x p x x
p p p x x x p R
R N B K Q B N x
AI thinking...
Traceback (most recent call last):
File "main.py", line 122, in
startGame(board, playerSide, opponentAI)
File "main.py", line 113, in startGame
move = ai.getBestMove()
File "/tmp/command-line-chess-master/AI.py", line 123, in getBestMove
moveTree = self.generateMoveTree()
File "/tmp/command-line-chess-master/AI.py", line 78, in generateMoveTree
self.populateNodeChildren(node)
File "/tmp/command-line-chess-master/AI.py", line 91, in populateNodeChildren
legalMoves = self.board.getAllMovesLegal(side)
File "/tmp/command-line-chess-master/Board.py", line 397, in getAllMovesLegal
if self.moveIsLegal(move) :
File "/tmp/command-line-chess-master/Board.py", line 388, in moveIsLegal
self.undoLastMove()
File "/tmp/command-line-chess-master/Board.py", line 89, in undoLastMove
self.pieces.remove(promotedPiece)
File "/tmp/command-line-chess-master/Piece.py", line 37, in eq
if self.board == other.board and self.side == other.side and self.position == other.position and self.class == other.class:
AttributeError: 'NoneType' object has no attribute 'board'
The text was updated successfully, but these errors were encountered: