Jump to content
  • Advertisement
Sign in to follow this  

Memory match Algorithm

This topic is 409 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I want make Memory match game but i don't know what is algorithm for generate random picture without repeating more than two time.

anyone can guide me?


Share this post

Link to post
Share on other sites
34 minutes ago, behdadsoft said:

I want choose randomly without repeating.

Then you want to shuffle. Take a look at the link I posted :)

Take your list of images (2 of each image in the list because you want to find a pair), and then shuffle the list.


35 minutes ago, behdadsoft said:

what is scratch?

"Create from scratch" means "to create something from nothing". In this case, starting with a blank image, and creating/painting an image using just code. But this wasn't what you wanted to do, so don't worry about it =)

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!