Skip to content

BAMdev69/CardMatchingGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Card Matching Game (Unity 6)

A fast, clean memory game where you flip cards to find matching pairs. Includes simple animations, keyboard/mouse support, scoring, timer, reset, and a game-over flow.

Features

  • Grid of face-down cards with smooth flip
  • Visual + audio feedback for matches/mismatches
  • Score, attempts, and timer HUD
  • Game Over panel with final stats (Play Again, Back to Menu)
  • Main Menu with How To Play
  • Keyboard and mouse control
  • Easy level tuning via rows/cols and sprite sets

Requirements

  • Unity 6 (or 2022.3+ LTS with minor adjustments)
  • TextMeshPro package

Quick Start

  1. Open the project in Unity Hub (root contains Assets, Packages, ProjectSettings).
  2. Open Scenes/MainMenu and press Play.
  3. In Scenes/Game, assign card face sprites to GameManager.faces. Optionally set defaultFace.

Controls

  • Mouse: Left Click to flip/select
  • Keyboard: Arrow/Tab to move focus, Enter/Space to select, R to reset

Scoring

Fewer attempts and faster completion yield higher scores. Matches award points; misses do not.

Project Structure

Assets Scripts Prefabs Scenes SFX

Scenes: MainMenu, Game. Prefabs: Card.

Build

  • File → Build Settings → add both scenes
  • Choose target platform → Build

About

Assessment Task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published