dipl.io icon indicating copy to clipboard operation
dipl.io copied to clipboard

Use API maps when local variant data isn't available

Open spamguy opened this issue 8 years ago • 3 comments

After Pure/France vs. Austria, there was a period where dipl.io did not have variant data to match. The variants appeared in dipl.io but triggered errors when trying to interact with them.

If variant data isn't available within dipl.io, the app should fall back to whatever map the API can supply.

spamguy avatar Jun 09 '17 21:06 spamguy

Now that the map testing script is ready I'm keen to add more map variants. This issue is the main thing discouraging me. Also the normal map for Pure is a little confusing! There are a lot of regions that can be clicked but not used for anything.

On the other hand it's great to be able to view all the games on dipl.io now!

tttppp avatar Jun 10 '17 05:06 tttppp

As an interim solution, is it easy to manually convert godip svg maps into dipl.io svg maps (and coordinate files)?

tttppp avatar Jun 10 '17 07:06 tttppp

This conversion turned out to be manageable, and there's an example along with a script in this pull request: https://github.com/spamguy/diplomacy-variants/pull/1

tttppp avatar Jul 16 '17 07:07 tttppp