Itangalo / Bot-Playtesting-Toolkit

A toolkit for simulating board games with Google spreadsheets. Intended use is board game development.
GNU General Public License v3.0
9 stars 1 forks source link

Optionally shuffle arrays before sorting them #79

Closed Itangalo closed 2 years ago

Itangalo commented 2 years ago

The sortByProperty function is often used to find the top candidate for something, and then the array should first be shuffled in order to avoid systematic bias. Instead of doing this before calling sortByProperty, it makes sense to have it as an option.

Itangalo commented 2 years ago

Documentation in place. Ready for 1.4.