This may be a little off topic as I’m simply curious - how many “functions” per say, of this card game, are handled by smart contacts..if that makes sense? Really cool idea and will be looking in to it! Thx for sharing.
Yes it makes sense ChiBitCTy.
The answer is almost all of them. You can take a look at the main smart contract file https://github.com/skunkworkslab/misfitart/blob/master/contracts/DigitalArtCollectible.sol
The web site mainly queries the smart contract to get details about a card/digital art: who is the owner, is it for sale, transaction history, bids, .etc
On the smart contract we store details about each card/digital art: total supply, price, author, collection, transaction history, offer status, current bid, .etc
We do not store everything though. Images are too big and expensive to successfully store on the smart contract, so we store their fingerprint/signature to uniquely identify them.
Thank you for sharing that info. The tech behind it is something I don’t fully understand but am working hard to try to grasp..so much appreciated!