Module inanis::engine::movesort

source ·

Functions§

  • Performs a selection sort on moves and move_scores arrays with the length specified in moves_count, starting from start_index. When it completes, the move and corresponding score will be under start_index - the function also explicitly returns both of them.