File Exchange

image thumbnail


version (396 KB) by Sudaraka Mallawaarachchi
Fun memory game intended for 2 players...


Updated 18 Jul 2014

View License

Classic memory game (flip and match) intended for 2 players...
Rules are simple.

1. Player 1 (red) starts the game by picking a pair of cards
2. If the cards match, he continues his turn, else, Player 2 (blue) gets the turn...
3. Game is over when the cards are over
4. Scores are displayed at the end (with results)

This is not a high-end mathematical application (usually the type Matlab is known for), rather a simple GUI based game, demonstrating some of the capabilities of Matlab.

All the images are customizable... Simply replace the images within the Images folder with your own. Please use the same file name and format, unless you wish to alter the code a little bit...

I hope you enjoy :)

Cite As

Sudaraka Mallawaarachchi (2021). Flip& (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Bahar Tuncgenc

This is really great, thank you! How may I change the number of images displayed?

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!