Skip to content
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

Can't swap cards between rank lists #27

Open
matt-dray opened this issue Oct 23, 2024 · 0 comments
Open

Can't swap cards between rank lists #27

matt-dray opened this issue Oct 23, 2024 · 0 comments
Labels
🃏 bug Something isn't working

Comments

@matt-dray
Copy link
Owner

You can set sortable_options to have swap = TRUE for each list so that cards replace each other within a list and between lists.

I think swapping is the more expected behaviour when moving cards between rank-lists. I think sorting is best within a list. However, we can only have all swapping or no swapping.

Without swapping, you can't move any cards if the pool and hand are both full.

However, the app starts with an empty hand, so you can't swap anything with the pool. Can swap be overidden if there's nothing to swap with? Could an 'invisible' card be used as a dummy and destroyed when swapped? I think this gets more into the JavaScript space.

@matt-dray matt-dray added the 🃏 bug Something isn't working label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🃏 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant