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 :)
Sudaraka Mallawaarachchi (2021). Flip&Match_1.0.zip (https://www.mathworks.com/matlabcentral/fileexchange/47263-flip-match_1-0-zip), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
This is really great, thank you! How may I change the number of images displayed?