The Memory Game App is a simple interactive mobile application developed using MIT App Inventor that helps improve a user’s memory and concentration skills. The game displays a set of cards or buttons that hide symbols, numbers, or images.
The player taps two cards at a time to find matching pairs. If the cards match, they remain visible; if not, they are hidden again. The game continues until all matching pairs are found.
This app is suitable for beginners and helps in learning concepts such as buttons, images, lists, variables, conditional logic, and event handling using MIT App Inventor.
Lists (Images / Symbols List)
A list is used to store images or symbols. These are randomly assigned to the game buttons in pairs.
Global Variables
Variables store the first selected card, second selected card, number of matches found, and total attempts.
Button.Click Blocks
Detect when a user taps a card and reveals the hidden image or symbol.
set Button.Image / Text
Displays the selected image or symbol when a card is clicked.
if–else Condition Blocks
Check whether the two selected cards match or not.
Clock.Timer Block
Adds a short delay before hiding cards again if they do not match.
Disable Button Block
Keeps matched cards visible and prevents them from being clicked again.
Match Counter Block
Increases the match count when a correct pair is found.
Game Complete Condition
Displays a message when all matching pairs are found.
These code blocks work together to control card selection, matching logic, score tracking, and game flow, making the Memory Game interactive and fun to play.