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

[TODO] Deck Strings Parser #69

Closed
2 tasks done
Bratah123 opened this issue Mar 9, 2023 · 2 comments
Closed
2 tasks done

[TODO] Deck Strings Parser #69

Bratah123 opened this issue Mar 9, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Bratah123
Copy link
Member

Bratah123 commented Mar 9, 2023

Abstract

The content of decks will be stored in the database as what we call as "deck_string". We need a string format suitable for storing information about 51 card decks.
And a server-sided parser that can read those strings to create decks in server memory or determine if its legal, valid, etc...

Details

#18 will be utilizing the tools from this Issue.

Tasks

  • Deck String Format
  • Deck String Parser
@Bratah123 Bratah123 added the enhancement New feature or request label Mar 9, 2023
@Bratah123
Copy link
Member Author

Bratah123 commented Mar 11, 2023

Here is the deck_string notation that I came up with.

set.card_number.quantity/

A deck with 4 perona and a doflamingo leader would look like:
st03.009.1/op01.077.4/

A deck with a doflamingo leader and 4 perona alt arts would look like:
st03.009.1/op01_1.077.4/

@Bratah123 Bratah123 self-assigned this Mar 11, 2023
@Bratah123
Copy link
Member Author

Add parsing capabilities, from List[string] -> deck_string

image

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

No branches or pull requests

1 participant