.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MCKALISTAIR
Posts: 4
Joined: Wed Dec 17, 2014 8:03 pm

.

Post by MCKALISTAIR » Wed Dec 17, 2014 8:12 pm

I'm making a simple game with a set of cards on the screen There is a image on the back of the card and it is blank on the front. When the user clicks on a card, it shows the image and hides the front. If the two cards mathc, the image stays and 1 is added to a score counter. If the cards do not match the images are hidden and the front is shown again.

Could someone give me an idea on how to do this, if you could provide some code that would be lovely.

Thanks very much.
Last edited by MCKALISTAIR on Sun Mar 08, 2015 2:39 pm, edited 1 time in total.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Matching game

Post by Klaus » Wed Dec 17, 2014 8:32 pm

Hi MCKALISTAIR,

1. welcome to the forum! :D

2. Please check my "Memory" game on my page: http://www.major-k.de/xtalk.html
Scroll down to "simple_memory1", sounds like this is what you are looking for.
Be sure to come back if you have questions!

3. If you like to work through some great learning resources, get them here:
http://www.hyperactivesw.com/revscriptc ... ences.html

Best

Klaus

Post Reply