lundi 27 août 2018

PHP : play cards, generate just 1 winning card

I have to making playing cards for a website. Is it possible in php to limit the number of playing cards and generate randomly just one time a winning card ?

For exemple :

I limit to 150 playing cards, so I have 150 players, 149 losers, 1 winner ?

Thank you for anwser ! :)




Aucun commentaire:

Enregistrer un commentaire