Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Memory Card Pairs

Issue #870

Description

Flip cards in the terminal to find matching pairs, tracking attempts.

How to Run

python memory_card_pairs.py

Features

  • Terminal-based memory card game
  • 8 pairs of matching cards (16 cards total)
  • Tracks number of attempts
  • Clear visual display of cards
  • Input validation

Gameplay

  1. Cards are displayed as numbered positions (0-15)
  2. Select two cards by entering their positions
  3. If cards match, they remain revealed
  4. If cards don't match, they are hidden again
  5. Win by matching all pairs

Requirements

  • Python 3.x
  • No external dependencies