0xFableOrg / 0xFable

A fully on-chain trading card game. There will be elves, wizards & shit. Drama and broken friendships also.
https://twitter.com/0xFableGame
BSD 3-Clause Clear License
103 stars 35 forks source link

Add indicators for illegal card play #121

Open norswap opened 5 months ago

norswap commented 5 months ago

Currently the game allows playing a single card every turn.

Two things are thus illegal:

But the interface currently shows the green drop background in all of these scenarios. This should be changed so that this drop background only appears in situation where playing a card is legal. The condition is probably already in the code somewhere, since we do not trigger a playCard transaction when it is not possible, which just need to extend the condition to the display of the green background.

tanyas-codes commented 5 months ago

Hey ! Can i take a look at this ?

Ayoazeez26 commented 4 months ago

@norswap there has been an inactivity for a while now on this issue, can I jump on this?

Joy-Adah commented 2 months ago

Hi @norswap is this still available?

norswap commented 2 months ago

Yep, it's still open.

No-bodyq commented 1 month ago

Hey @norswap can I take this??

norswap commented 1 month ago

Hey Asher, 0xFable development is on ice for now. You can take it but aware that there might a long delay for the review to come in. If that's fine, go ahead!

No-bodyq commented 1 month ago

That's fine