hanabi-live
hanabi-live copied to clipboard
Allow /copy to work with an empty hypothetical
Is your feature request related to a problem? Please describe. Sometimes I want to share a deck order (or a slightly modified version of it) from a seed without including any actions. The easiest way I know of is to use /copy on a hypothetical, but the server PMs me "there are no actions in your hypothetical" if I use /copy on an empty hypothetical, even though that is often what I want to do.
Describe the solution you'd like I would like the site to stop PMing me "there are no actions in your hypothetical" and let me use /copy from the start of the game.
Describe alternatives you've considered I would be OK if the server PM'd for empty hypotheticals if /copy was not used at the start of the game -- my use case is specifically for /copy without any actions.
Another alternative is to /copy the JSON with an action and then manually remove the action from the JSON, but that does not help with generating a link, which is what I would most often like to do.
I believe the motivation for this warning is because you might be trying to copy a whole replay but you didn't realize you needed to skip to the end first. I've hit this message several times and every time it's been because I forgot that the /copy feature was sensitive to the current turn
The issue is more the other way around. You can’t open a JSON without an action, so it would be rather unpractical to /copy one without.
You can circumvent this with a JSON, by including an “end of game” action, which does nothing in practice.
You can’t open a JSON without an action
we should probably fix that?