Card Match (Memory Game)
This example is a version of the classic memory game, where you flip cards to find the matching pairs. Each time a pair is located, you're awarded a score. When all pairs are matched you win!
Pretty simple game mechanic, but it can be a pretty enjoyable little game. Have Fun!
Nice one kevin.
From where did you get your inspiration?
I thought the purpose of the forums was to share programming information and ideas so why the
QuoteCopyright 2009 by Kevin Picone, All Rights Reserved.
Does this mean that I cannot use any part of the code in one of my programmes?
:-\
geecee
Question for kevin
QuoteDoes this mean that I cannot use any part of the code in one of my programmes?
???
geecee
of course you can.
Thanks for your reply kevin.
Just wanted to clarify.
I can read and understand (I think) the code except for where there is a dot or period "."
What does this do as in the following piece of code ...... Is there something in the help files to explain?
[pbcode]
// Check if this card needs to change from selection state to a new state
if Cards(ThisCard).ChangeStateTime<>0
if CurrentTime>Cards(ThisCard).ChangeStateTime
Cards(ThisCard).State=Cards(ThisCard).NewState
Cards(ThisCard).ChangeStateTime=0
Cards(ThisCard).NewState=0
endif
inc StateChangesCount
endif
[/pbcode]
:)
geecee
They're User Defined Types
Learn about them under Help -> About -> Types