Traceback dump.
Traceback (most recent call last):
File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\Ui.py", line 238, in
main()
File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\Ui.py", line 222, in main
instruction = nextMove(currBoard)
File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\AI\AI.py", line 38, in nextMove
curr_result = move(board)
File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\AI\AI.py", line 116, in putColumn
cardsLeftDeckDrawPile -= 1
UnboundLocalError: local variable 'cardsLeftDeckDrawPile' referenced before assignment
Traceback dump. Traceback (most recent call last): File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\Ui.py", line 238, in
main()
File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\Ui.py", line 222, in main
instruction = nextMove(currBoard) File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\AI\AI.py", line 38, in nextMove curr_result = move(board) File "c:\Users\emilb\Documents\SolitareImageRecognition\SolitareImageRecognition-1\AI\AI.py", line 116, in putColumn cardsLeftDeckDrawPile -= 1 UnboundLocalError: local variable 'cardsLeftDeckDrawPile' referenced before assignment
State of the game: