Flickr Memory Game

Wed 02 Apr

2008

Remember that game called Memory (sometimes called Concentration) from when you were younger where you'd start with a grid of cards face-down and then flip them over two at a time until you had matched all the pairs? Well, my co-worker Paul and I were talking a few months back and he thought that it would be cool to create a web version of the game using your own digital pictures as cards. So, I got to thinking and realized that a lot of people already have a bunch of pictures on Flickr. I had wanted to check out the Flickr API anyway, so this was the perfect opportunity.

That night, I went home and started reading up on the Flickr documentation and began coding a game that allowed users to generate their own virtual "deck of cards" based upon the tags they entered and/or their Flickr username. I had the it mostly done, but then had other things come up and I dropped it for a while. It wasn't until last night that I finally ended up finishing it up.

So, here's the link to the game:

http://borloz.com/games/flickr-memory/

And here's how it works:

  • Enter your desired tags and/or your Flickr username. (For example, if your photo URL is http://flickr.com/photos/lborloz/, then lborloz is your username.)
  • Select whether you want to match "any" or "all" of your tags.
  • Select your level of difficulty. ("Easy" will generate a 4x4 grid. "Hard" will generate a 6x6 grid.)
  • Click "Play!"
  • Try to match all the tiles in as few moves as possible. (A perfect game on the "Easy" setting is 8 tries. A perfect game on the "Hard" setting is 18 tries.)
  • Have fun!
Filed Under: Web Programming, Games

Comments

Leave a Reply