Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 help making memory game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kishan25




PostPosted: Tue Jan 13, 2009 6:20 pm   Post subject: help making memory game

i need help with making memory game with graphics.
the cards should come randomly.
i have the random part, but i need to check if the cards clicked are same or not, and if they are same , they should remain open or disapper.
Sponsor
Sponsor
Sponsor
sponsor
Parker




PostPosted: Wed Jan 14, 2009 8:45 am   Post subject: RE:help making memory game

I think each card should have a boolean variable. The card should be set to false, then have an if statement to check if the card has been matched, if matched the boolean should change to true and then you can have the card do what you want.

Obviously my advice is just a suggestion that you will have to expand for it to actually work. Hope that gets you started.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: