-
Notifications
You must be signed in to change notification settings - Fork 39
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
Decks Onchain #134
base: master
Are you sure you want to change the base?
Decks Onchain #134
Conversation
This one should be in draft state, but I can't set it to that. |
You don't see "Still in progress? Convert to Draft" in the top right panel? You have write access to the repo, so you should be able to convert the PR to draft in theory! Do you want me to already give this a review, or do you want me to wait when you're done? |
cde5752
to
d112e58
Compare
I see this still has conflict, so should be rebased on top of master! |
It's kind of weird there are commits from Aritra in the middle ... rebase gone wrong? |
…fore it had been published on chain
…ded function to fetch all deck names of a given player
…d one to fetch the actual deck.
… deck names of a player. Only once a deck has been selected do we fetch all the cards of that deck.
…w validates the deck.
…Also changed it's color
abf2e76
to
fa9c55d
Compare
Aritra commits are DELTED. I haven't been able to verify if my work has regressed gameplay due to "#135 Unable to Join Game", and am worried as I have refactored |
Context (Problem, Motivation, Solution)
#103 Bring Decks Onchain
#111 Add Deck Validity Status when Constructing Deck
Describe Your Changes
Decks are now saved and modified onchain.
Decks owned by the player are now presented in their collection.
Minor changes to UI but not overhauled (#93)
A couple of functions added in the
Inventory.sol
contract, namely:getAllDecks
getDeckNames
getDeckReal
Checklist
make check
and fixed resulting issuesTesting
If you didn't write tests, explain how you made sure the code was correct and working as intended.