I'm making a card game on a website. Users are shown a hand of eight cards. They will then choose four to pass to the other player. How could this work?

* check boxes under each card, if the users presses the 'pass' button with more or fewer than four cards checked, they are refused and told to select only four cards

Any better plan?


Also thinking about - should the user select the four cards to pass or the four cards to keep?