[0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], ] table12 = ChessTable(1) currentBoard = newReed print(board12.pieceAtPosition(C(0, 0))) vl = VoiceListener(21, 1) isWhiteTurn = True while True: print(board12) result, myMove = vl.listen(board12, isWhiteTurn) print(result) if result == "move": if board12.isLegal(myMove): board12.makeChosenMove(myMove) isWhiteTurn = not isWhiteTurn move = table12.getMove(board12, currentBoard) print(move) print() parser = InputParser(board12, WHITE) notation = parser.notationForMove(move) if notation == "e4": numPassed = numPassed + 1 board12.makeChosenMove(move) print("Passed move 1 of 30") print() print(board12)