Memory example

Creating Games? Developing something for fun?

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Klaus
Posts: 9843
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Memory example

Post by Klaus » Mon Sep 18, 2017 2:12 pm

Hi friends,

found some very old stacks of mine on my HD today and thought I could share them here.

In the ZIP archive you will find two stacks:
1. simple_memory1.livecode
I used this stack for a demonstration at the European Revolution Conference (ERC) in Malta in 2004.
(For the youngsters, the former names of "Livecode" were "Runtime Revolution" and later just "Revolution"!)
It explains the LOGICS behind a memory game, so you understand what is going on in my scripting.

2. memory1.livecode
An actual memory game with timer etc.
The script can be used with ALL kind of memory games from two tiles (rather boring 8) ) to an unlimited number of tiles.

Take a look and enjoy! :D
I saved the stacks in 2.4 format, so everyone should be able to open them.

Thanks to Klaus Junghans for the great cartoon pics!


Best

Klaus
Attachments
memory.zip
(188.75 KiB) Downloaded 35 times

bogs
Posts: 1625
Joined: Sat Feb 25, 2017 10:45 pm

Re: Memory example

Post by bogs » Mon Sep 18, 2017 8:38 pm

Interesting stuff Klaus. I did find I had one square with no mate (all others were cleared off), but still very nicely done :)
ImageImage

Klaus
Posts: 9843
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Memory example

Post by Klaus » Wed Sep 20, 2017 6:44 pm

Strange, I played the memory a couple of times before I posted it here and all images where in place!?
If it happens again, could you please take a look if the button with the missing icon HAS infact an assigned icon?

Thanks!

bogs
Posts: 1625
Joined: Sat Feb 25, 2017 10:45 pm

Re: Memory example

Post by bogs » Wed Sep 20, 2017 9:59 pm

I would be happy (if it happens again) to do anything I can to assist you Klaus :)

Nothing was missing a picture, btw, all the buttons (including the last one on the board) had pictures. The part that was missing was any more buttons, so I couldn't mate the last button to anything. I did find this doesn't happen all the time (6 attempts this morning), so maybe it was a fluke.

Joke time -
A programmer, an engineer, and a manager were riding through the Alps, when the brakes in their car failed and they careened down the mountains roads, nearly going over the edge several times before coming to a stop where they all got out of the car.

The manager said "We need to call a meeting, define our objectives, come to a solution, and initiate our plan! Who brought doughnuts and coffee?"

The engineer said "Look, I have my swiss army knife with me, I can rebuild the braking system in about 10 minutes and we can be on our way."

The programmer looks at both of them and says "Well, before we do anything else, I think we should drive it a little longer and see if it happens again, it might have just been a bug..."
ImageImage

Klaus
Posts: 9843
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Memory example

Post by Klaus » Thu Sep 21, 2017 12:06 pm

You mean you ended with on ONE button left?
Well, that MUST be a fluke :D

bogs
Posts: 1625
Joined: Sat Feb 25, 2017 10:45 pm

Re: Memory example

Post by bogs » Thu Sep 21, 2017 12:31 pm

Yah, that is my thinking as well. I haven't been able to reproduce it no matter how far I drove :D
ImageImage

Post Reply

Return to “Creating Games”