The Daily Click ::. Forums ::. Klik Coding Help ::. Memory Card Matching minigame coding help
 

Post Reply  Post Oekaki 
 

Posted By Message

G. Hull



Registered
  07/01/2009
Points
  125

Wii Owner
1st December, 2009 at 18:09:19 -

Hello everybody!
I've looked, and I didn't see a question like this, so I am going to ask.
I want to make a Memory Card matching game. To play, you click on one card, and you have to find the other card that matches the picture on that card. All cards are facing down, so you don't know what they are until you click on them. I want to make a set of 15 cards, and you have to match them all. I would like the card's placement to be randomized when you start the frame. And when you find a match of two, I want it to either go into a pile, or stay flipped over. When you find all the matches you win the game. I have almost no idea how to code it, and I'm sorta crunched for time, so sooner would be better than later .
Thanks!



 
n/a

Rox Flame

Creative Talentician

Registered
  06/10/2004
Points
  383
2nd December, 2009 at 09:56:45 -

All I can think is that I hope your not matching in pairs... or the game would be impossible to win using 15 cards haha.

Anyhow, I don't know where id start on this except maybe the use of the extension "MagicDeque" could be handy, as it performs a lot of functions based on a deck of cards and randomisation for it etc.

 
Current project:
Dynabrick (%70)

cake



Registered
  13/12/2002
Points
  1173
3rd December, 2009 at 13:11:49 -

Yeah, MagicDeque is the way to go with this one, I think.

Made a full example:

http://www.create-games.com/download.asp?id=8014

Uses two counters for recording what the type of each flipped card is, internal flags for remembering which cards are flipped and MagicDeque for shuffling the deck.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click