You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. This project is pretty much abandoned, I haven't done anything with it in years. But basically you would add a sort function to the Hand class, which would sort the cards according to whatever you want, and then call the render function again to update the cards to their correct positions.
How can I sort the cards in a hand?
For example, I see that in your game https://cardgames.io/spades/ the hand's cards get sorted after they are finished being dealt.
Thank you!
The text was updated successfully, but these errors were encountered: