How can I random 3 different position in an 4x4 Array
I have a task which is creating an Dungeon Escape game, based on a 4x4 array. I first have to create 3 different postion for E(Exit),K(Key) and P(Player). How can I random those 3 in 3 different position in an array ?
Aucun commentaire:
Enregistrer un commentaire