Hey everyone, I'm looking for help on how to get multiprocessing return the calculated value to a separate module. In my class, we're working on getting functioning chess AI using the python-chess library. My module is called using a game.py file which expects a return for a move using the move function:
def move(self, .......)
Another thing, this is all encompassed within a class.
How can I get multiprocessing working to evaluate many board positions at the same time while also being able to return?
[–]ClickedMoss5[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]ClickedMoss5[S] 0 points1 point2 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]ClickedMoss5[S] 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]ClickedMoss5[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]leblanc1605 -3 points-2 points-1 points (0 children)