About a month ago a teacher from Switzerland reached out to me with a feature request for https://goodenoughgolfers.com, so I threw together an update. What’s new this week:
- The Prefer splitting these groups box lets you enumerate groups of players that should be split up if possible. It’s similar to Never allow these pairs but has a lower priority for the solver (it seeds pair-costs with weight 1 instead of weight Infinity).
One use of this is to gender-balance groups: If you list all students of one gender as a group in this box, the solver will try to spread them out as much as possible. - Printing the page now produces a clean view of the latest results. There’s a new Print Results button in the results footer.
- The app now automatically saves your last settings and results to your local machine, and reloads them when you come back.
- There’s a new Help view. You can open it by clicking the help link at the bottom of the left column.
Good-Enough Golfers is free, open source, and MIT-licensed.
Your solver is excellent for my needs for assigning partners each month pulled from 12 different groups. The only problem is I have more then 60 people. Could you expand your slider to 50 groups for a total of 100 people (if the group size is 2)?
Done! It’ll be fast with 50 groups of two, but can get really slow with larger group sizes. Use at your own risk!
Hi Brad
I’ve downloaded your solver to Windows and run the index.html. I’m guessing it doesn’t work when run locally like this because of web workers? Is there anything else which is incompatible with running like this? I’m afraid I’m not too hot on web coding, so would you be able to provide some details for how to convert it so that it could be run locally on Windows without having to install anything?
Thanks
The project does have to served by a simple HTTP server that can handle static content, rather than directly opening index.html from the filesystem.
You can run node and npm on Windows, which would allow you to follow the steps in the README to get a simple server up and running.
Alternatively, there are lots of other easy ways to run a local server on Windows. Check out the VSCode Live Server plugin or Simple Web Server for two options.