tspivey / yugioh-game

Text-based Yu-Gi-Oh MUD
https://allinaccess.com/game/
MIT License
33 stars 23 forks source link

deck sharing #185

Open Timtam opened 5 years ago

Timtam commented 5 years ago

some players want a better deck sharing experience, deck exporting/importing seems to clumsy and copying from public decks isn't perfect either.

JessicaTegner commented 4 years ago

Hi.

A suggestion as to how this could be improved.

For the deck import and deck export commands

Instead of just spitting out (and expecting) a json string, encode it in something like base64, or something similar, so it's just a string of letters and numbers, instead of a string with (for players) strange symbols and such.

kevinlul commented 4 years ago

I can contribute something for the YDKe URLs on YGOProDeck. I'd need to know at what part of the codebase to inject it though.

JessicaTegner commented 4 years ago

@kevinlul in this case, we are not talking about YGOProDeck. In the game, there's a deck import and deck export command, that let's the players share decks between each other. What people have been complaining about, is that the deck export command just spits out the deck in raw json, which looks really ugly.

kevinlul commented 4 years ago

I'm referring to a base64 url format like so

ydke:///7pZBN5skgDebJIA3mySAIUG5QGFBuUBhQblAadZ+gGNsEEEktETAgdIdR7imfcA4pn3AG9N/wGRkeEBkZHhAfJAdR5P0O0BT9DtAawJdAR0RysBkQerAvstxAL7LcQCSnBJA2++MQRvvjEEkw08BJMNPAQ5QFgE+Sm+BO8nUQBwwzgEEtmgAvuaMQN8QQEFfEEBBXxBAQX4QHUeO0nJBQ==!oPs6BV+NLAX2ZNEA5+34Auft+AI0cV8F5a3yA+Wt8gNTzMUEU8zFBFPMxQSKhTYESzzJA0s8yQNLPMkD!!
Timtam commented 4 years ago

that ydke format seems interesting, due to higher compatibility and the ability to directly import decks from ygodeck. Internal deck sharing would still be interesting though.

Timtam commented 4 years ago

I'll open a new ticket for the ydke format though.