A memory card game built with Flet framework in Python. Features include card matching mechanics, score tracking, animated card flips, and multiple game states. Players must find matching pairs while keeping track of their matches and errors.
memorygame/ └── base/ └── src/ ├── assets/ │ └── images/ │ ├── cover.png │ ├── congrats.png │ └── [0-19].png ├── views/ │ ├── home.py │ ├── card.py │ ├── game.py │ └── congrats.py └── main.py
- Python 3.x
- Flet Framework
pip install flet
- 1st -> go to the directory of the project on the terminal
- cd memorygame
- cd base
- cd src
- 2nd -> run the main.py to start the game
- flet run -d main.py
- Interactive memory game with 10 pairs of cards
- Counter of matches and errors
- Animation when flipping the cards
- Multiple game states with navegation
- Interactive memory game with 10 pairs of cards
- Score tracking system (matches and errors)
- Animated card transitions
- Multiple game states:
- Home screen with play button
- Game board with card grid
- Congratulations screen with final stats
- Click on cards to flip them
- Find matching pairs of cards
- Track your progress with the match counter
- Complete the game by finding all pairs
- Built with Python and Flet framework
- Modular architecture with separate view components
- Event-driven gameplay mechanics
- Responsive design
- home.py: Handles the initial game screen
- card.py: Manages card behavior and animations
- game.py: Controls game logic and score tracking
- congrats.py: Displays end-game statistics