Create an iterative version of fc_board_get_moves() which gets moves for just one piece at a time. Call the function in question from the AI code instead of fc_board_get_moves(). This way we can take advantage of alphabeta cutoffs without mixing the AI and game logic.
Create an iterative version of fc_board_get_moves() which gets moves for just one piece at a time. Call the function in question from the AI code instead of fc_board_get_moves(). This way we can take advantage of alphabeta cutoffs without mixing the AI and game logic.