# Concentration

**URL:** <https://forum.kirupa.com/t/concentration/205653>\
**Category:** flash\
**Created:** [October 31, 2006, 6:13pm UTC](https://forum.kirupa.com/t/concentration/205653 "2006-10-31T18:13:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatrixAgent1984](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MatrixAgent1984](https://forum.kirupa.com/u/MatrixAgent1984)\
**Post date:** [October 31, 2006, 6:13pm UTC](https://forum.kirupa.com/t/concentration/205653/1 "2006-10-31T18:13:43Z")

</div>

Hi guys. I’m trying to produce a flash game similar to the card game ‘Concentration’. Basically, I’ve got some pumpkins that are animated to pop open with a different picture in each one. You have to find a pair to get points.

First, I need to know how to get the pumpkins to randomly put different pictures in each one, and there has to be at least two of each different picture. Somehow I need 2 of each picture to randomly scatter in each pumpkin at the beginning of each level.

I also need help figuring out how to get it to go to the next level once all the pairs have been found.

Thanks in advance you guys!
