Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add import/export deck code #2577

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mercury233
Copy link
Collaborator

image

@purerosefallen
Copy link
Collaborator

purerosefallen commented Aug 14, 2024

Can we take a chance to make all distro's deck code the same format?

#2182
#2185
ygomobile's

@edo9300
Copy link
Contributor

edo9300 commented Aug 14, 2024

I would suggest to use the ydke url format, it's simpler than the other alternatives proposed (just straight up convert 3 arrays to base64), and it's been used for 4 years and most of the "western" ygopro tools/sites already have support for it

@mercury233
Copy link
Collaborator Author

and ygo233's
https://ygo233.com/deck

@purerosefallen
Copy link
Collaborator

purerosefallen commented Aug 16, 2024

I would suggest to use the ydke url format, it's simpler than the other alternatives proposed (just straight up convert 3 arrays to base64), and it's been used for 4 years and most of the "western" ygopro tools/sites already have support for it

However, it's another url format in eastern ygopro things.

@edo9300 any docs or code to see?

and ygo233's https://ygo233.com/deck

then you do it, none of us know what that is

@edo9300
Copy link
Contributor

edo9300 commented Aug 16, 2024

@edo9300 any docs or code to see?

There's this JavaScript implementation of encoding/decoding a ydke url
https://github.com/ProjectIgnis/ydke.js/blob/master/src/index.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants