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

etgutil.js should handle overflow #45

Closed
serprex opened this issue Jul 17, 2019 · 1 comment
Closed

etgutil.js should handle overflow #45

serprex opened this issue Jul 17, 2019 · 1 comment

Comments

@serprex
Copy link
Owner

serprex commented Jul 17, 2019

Decks are encoded in base-32. Currently if someone collects over 1023 copies of a card (vv in base-32), they'll cap out. ie 1020+7 = 1023. Instead etgutil should create a 2nd entry, eg adding 07aaa to vtaaa should result in vvaaa05aaa & removing 7 go back to vtaaa

Code then needs to work when iterdeck emits duplicate codes

@serprex
Copy link
Owner Author

serprex commented Oct 17, 2021

This has been done 42cb553

@serprex serprex closed this as completed Oct 17, 2021
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

No branches or pull requests

1 participant