Functions§
- Performs a selection sort on
moves
andmove_scores
arrays with the length specified inmoves_count
, starting fromstart_index
. When it completes, the move and corresponding score will be understart_index
- the function also explicitly returns both of them.