# Setting up a concentration game

**URL:** <https://forum.kirupa.com/t/setting-up-a-concentration-game/3632>\
**Category:** Uncategorized\
**Created:** [January 13, 2002, 6:16pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632 "2002-01-13T18:16:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 13, 2002, 6:16pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/1 "2002-01-13T18:16:46Z")

</div>

I want to create a concentration game for my site, the game where u pick two cards and if they’re alike you get a point or whatever. well i was wondering how could i make this? i want the players to be able to see how many matches they got and also for the matches to stay flipped if they are the same.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 13, 2002, 10:37pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/2 "2002-01-13T22:37:57Z")

</div>

i got n0 clue…but i also wanna know :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2002, 5:19pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/3 "2002-01-14T17:19:32Z")

</div>

I’m currently working on it, along with that bloody mailing script, and actually it is not very very difficult, technically. The problem is that you have to manipulate dozens of variables that check which card you flipped, if it’s the same as the first one, bla bla bla.  
My approach of the game :  
I created several cards (MC with buttons inside). When you click it, the image on it appears, and I send to the main timeline the numbre of the card, the name of the drawing on it, and that it’s now time to pick a second card.  
You do the same with the second card and you check if the drawing is the same. If so, the cards remain uncovered, otherwise they are flipped back and I go back to the start of the main timeline.  
If I ever get somewhere, I’ll let you know.

pom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2002, 9:16pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/4 "2002-01-14T21:16:31Z")

</div>

OK, there’s the beta 0.000001 version of that game. Of course, it’s ugly, of course, it’s easy (yeah, with two cards, you can’t really make mistakes), but if it’s a small step for mankind, it sure is a huge step for me. Just wanted you to know that I was eventually getting somewhere. The link’s here :  
[www.multimania.com/ilyasl…/jeu2.html](http://www.multimania.com/ilyaslamasse/jeu2.html)

pom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 15, 2002, 8:42pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/5 "2002-01-15T20:42:01Z")

</div>

I finished it !!! Not really actually, but now it’s just a piece of cake to make it better. Here’s the link :

[www.multimania.com/ilyasl…/jeu3.html](http://www.multimania.com/ilyaslamasse/jeu3.html)

Please tell me what you think about it.

pom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 15, 2002, 9:54pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/6 "2002-01-15T21:54:49Z")

</div>

Nice!!!

What if you want a button that resets and randomizes the cards to play again, so it will not have the same setup?

Just thought I would add this to the wish list.

Matt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 15, 2002, 9:57pm UTC](https://forum.kirupa.com/t/setting-up-a-concentration-game/3632/7 "2002-01-15T21:57:39Z")

</div>

Welll, actually, I thought about that, but I’m not too good with randow motions. But I’ll give it a try. I’d appreciate if you tried it too.

pom
