+ 2
How to apply shuffling function in javascript?
Hello every body... i want to develop a jig saw game and for this game i want a code in javascript or jquery so that can shuffle the pic for end users and then they can play it or rearrage it for fun .... please help me out and thank you in advance
3 Respuestas
+ 12
i assume you mean shuffling an array.....
you can do something like this
https://code.sololearn.com/WtNQ0pqn9AZ6/?ref=app
+ 12
added matrix shuffle as well
+ 2
@burey
thank you bro..
actually i want to create a jig saw game and for that i need code which can directly shuffle the picture for the end users.....