keep-starknet-strange / tsubasa

Tsubasa onchain game built with Dojo, running on a Starknet Appchain.
https://play.tsubasa.win
MIT License
59 stars 30 forks source link

Implement `create_deck` #48

Closed 0xLucqs closed 1 year ago

0xLucqs commented 1 year ago

Description

Each player will need to create his deck. Each deck is composed of 8 different cards. A card is an NFT so a deck can be represented as a list of u256. Though any other way could be fine. Surprise me i guess

Acceptance criteria

hypekn1ght commented 1 year ago

I can take this one ser

hypekn1ght commented 1 year ago

so for create_deck, does this check for card NFTs that the player has?

And then maybe a function that sets the NFTs ids into the deck ? @LucasLvy