mercredi 25 octobre 2017

How to set 10 mines in random positions in 81 blocks in android

I am implementing mine sweeper game using grid view in android. I want to set 10 mines in random positions in 81 blocks. Please help me how to do that? Or please suggest me how to set random numbers with mines in appropriate position. Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire