For some time trying to make a system for playing cards.
The system I'm doing it in PHP and Mysql, so this is where I have the best and most familiar.
When a user types a few cards (eg, Jack of Spades, Jack of Clubs,, Queen and King-peak-Cup) system to take into account that maps were entered by users:
- From input cards, how are consecutive (ie Jack, Queen, King = 3)
- From input cards, how many of the same suit (ex-Jack of Spades and Queen of Spades-= 2)
I asked how to do it?