A beautiful and modern memory matching game built with Vite, TypeScript, and React featuring emoji-based cards and strategic scoring.
- Modern UI: Clean, colorful design with smooth animations
- Emoji Cards: Fun face emojis instead of geometric shapes
- Responsive Design: Works perfectly on desktop and mobile devices
- Strategic Scoring: Negative scoring system that rewards accuracy
- Exit Confirmation: Prevents accidental game exits with confirmation dialog
- Visual Feedback: Card flip animations, dimmed matched tiles, and celebration effects
- Multiple Pages: Start screen, game, instructions, and end screens
- Click cards to flip them and reveal face emojis
- Find matching pairs of identical emojis
- Match all pairs as quickly as possible
- Be careful: Wrong moves deduct points and can make your score negative!
- Your final score depends on matches made, speed, and accuracy
- Start Page: Welcome screen with game title and navigation
- Instructions Page: How to play guide
- Game Page: 4x4 grid with timer, score, and move counter
- End Page: Victory screen with final stats and replay options
- Vite: Fast build tool and development server
- React: Component-based UI library
- TypeScript: Type-safe JavaScript
- CSS3: Modern styling with animations and gradients
-
Install dependencies:
npm install
-
Start development server:
npm run dev
-
Build for production:
npm run build
- Grid: 4x4 grid with 16 cards (8 pairs)
- Emojis: 8 different face emojis (๐, ๐, ๐ค, ๐, ๐ฅณ, ๐ด, ๐ค, ๐)
- Scoring System:
- +100 points per successful match
- -50 points per incorrect move (can go negative!)
- Speed bonus on game completion (up to +200 points)
- Timer: Real-time timer tracking game duration
- Moves: Counter for total flip attempts
- Visual States:
- Active cards: Normal appearance with hover effects
- Matched cards: Dimmed, scaled down, non-clickable appearance
โ
Card System: Emoji-based cards with flip animations
โ
Game Logic: Match detection and visual feedback
โ
Scoring: Strategic negative scoring system
โ
Visual Effects: Dimmed matched tiles, hover effects
โ
User Experience: Exit confirmation dialog
โ
Responsive Design: Works on desktop and mobile
โ
Victory Screen: Celebration effects and final stats
โ
Navigation: Seamless page transitions
โ
Modern UI: Clean, intuitive design
- Focus on accuracy to avoid losing points
- Balance speed with memory - quick matches boost your score
- Don't worry about mistakes - you can always recover
- Best strategy: Memorize card positions and match quickly
Enjoy playing Memory Match! ๐ฎโจ
Note: Always update this README when making changes to game mechanics, features, or user interface.