Friday, April 11, 2014

Memory Blocks - A game

A memory game in which a few blocks have objects with different colors hidden behind. Move the focus on to an object and press enter to uncover it. As soon as you move to another block this uncovered block gets covered. You have to uncover two blocks with same object hidden behind to clear both the blocks. This is a time based game. Faster the board is cleared the higher the points.

Snapshots:




Here is the source.
I frankly did not know this game was so engrossing and useful. I played it now and completely cleared the screen. I scored somewhere around 245 points. On special request of someone I have reduced the number of blocks to 4*4 ie 16. The display of blocks is reduced by commenting out certain code for last column. I am sure all blocks cannot be cleared now(since some blocks in the last column will have pairs in visible blocks). Will need more time to programmatically do the same. The goal being to draw variable number of blocks ie 4*3, 4*4 or 4*5. Here is the source for the modification.

14 comments:

  1. Sir plz send me The project report for memory game in id:reshupandu2102@gmail.com
    Which includes mainly The abstract, project design, brief introduction which also include S some openGL functions which are used in it..

    Thank you....

    ReplyDelete
  2. sir pls kindly send me the poject report for the memory block game plssssss.... i personally request you to send me which mainly includes literature survey, analysis and design. thank you

    ReplyDelete
  3. Sir could u plz send me the project report. I want the algorithm and the flowchart also for better understanding.
    Thank u

    ReplyDelete
  4. sir please send the report
    natarajan.natarajragavan@gmail.com

    ReplyDelete
    Replies
    1. Sorry for the delay... Here is the report.... https://drive.google.com/file/d/0B4Usyvy-VMLkSG94UHpuNnZwMGs/view?usp=sharing

      Delete
  5. Can u send me the code of memory block game for 5 rows n 5 column??

    ReplyDelete
  6. Sir please share the explaination of the functions and how can i add extra column or row.

    ReplyDelete
    Replies
    1. I am trying to make a program in which it asks user for m,n the number of rows and columns.

      Delete
  7. Sir pls send report to sonakruthi123@gmail.com

    ReplyDelete
  8. Sir can you please send me the report for memory blocks game, vyshu.kola@gmail.com

    ReplyDelete
  9. Sir pls snd me report of memory block game

    ReplyDelete
  10. sir can you please tell me how is the score calculated in the game??

    ReplyDelete