Hi, in Clash Royal game, you can choose 8 cards from 30 cards ( for example ) . then on battle you have 8 cards witch battle set those randomly for you. like img:
is there any idea about this algorithm ?
and how i can show next card ?
ps:
i create "cardNum" instance for every card, for example :
giant : 1
simpleSoldier : 2
witch : 3
and etc.
best regards.