shenanigans-be / miltydraft

19 stars 18 forks source link

Allow specified draft order #41

Closed scottmk closed 3 months ago

scottmk commented 3 months ago

My friends and I have a recurring game, and we'd like to be able to do the draft order based on the outcome of the previous game. So last place gets first draft, first place gets last draft.

This system only allows for random draft order. It would be nice to have a toggle that just uses the order given.

scottmk commented 3 months ago

I think I could implement this myself, if you could orient me to where the random draft order happens in the code.

It looks like it happens here. So my instinct is that we could just add a checkbox to the main page that doesn't do this shuffle.

shenanigans-be commented 3 months ago

Merged! I tinkered a bit with you PR, basically I switched it around so the "default" order is random, but you can specify it being preset, since that will be the case for the vast majority of drafts. I also moved the checkbox to the advanced settings.

Thanks for your help!