Feature request/idea: So I'm sure a lot of us would love for Goko to provide an "Identical Starting Hands" option, but I doubt many of us are holding our breath. Providing such an option through Salvager would be nontrivial to be sure, but I think it's possible. Here's the basic idea:
- Both players need Salvager, and there would be some chat-window negotiation similar to how #vpon/#vpoff works now. It would all have to take place before anyone takes a "real turn," so if Salvager detects that a player, say, gained a card, the identical starting hands process would abort. (I know gaining a card isn't a perfect indicator that someone played a turn, and welcome other suggestions.)
- Assuming both players start the process and let it continue, both Salvager instances would do something along these lines:
loop
chat some representation of your hand, either a full card list or something simpler like "#34", "#25", etc.
if hands are identical, break out of the loop and let the game begin for real.
take two dead turns, i.e. click End Actions, End Turn. In effect, reshuffle the starting deck.
end loop
Optional: Delete those dead turns from the log.
- One issue is, how much do you care about identical distribution of shelters in shelter games? That could make the first step more complex (need to list which ruins you have in addition to how many copper), and the whole process takes longer since the expected number of reshuffles to match shelters with each other is higher.
- Another thing is that this algorithm will settle on 2/5 openings a lot less often, since you need two (presumably) independent shuffles to hit on 2/5. A goko-provided identical-hands feature would hopefully just use the RNG once to generate a hand that both players start with, so the chance of 2/5 would be the usual ~8%. But the chance to hit that 8% twice on independent shuffles is less than 1%. So I guess players would have to decide if making 2/5 that much rarer is an acceptable tradeoff for identical hands.
Anyway, that's about it. I'm sure this "protocol" isn't perfect and needs some tweaking and filling in of details, but I think two Salvager users could essentially agree to let the extension reshuffle their starting decks until identical hands come up. What do you all think, is this worth the effort?