C# / .NETCompletedBaby Pink theme

WPF Memory Game

A WPF memory matching game with shuffled pairs, interactive card selection, attempts and state tracking. The project explores C# UI structure and game services.

C#WPFXAMLMVVM
MGMemory Game
C#Main technology
613Tracked files*
368.jpg files
184.png files

*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.

01 · What it does

What the application does

Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.

01

Shuffled cards and pair-matching mechanics.

Shuffled cards and pair-matching mechanics.

02

Turns, scores and game-state transitions.

Turns, scores and game-state transitions.

03

WPF controls and C# game-service structure.

WPF controls and C# game-service structure.

02 · Technical structure

How the system works

Technical architecture drawn from the repository and supplied documentation.

01

The project uses C#, WPF, XAML, MVVM as its documented technical foundation.

02

The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.

04 · Source and design

Implementation examples and code walkthrough

Save-game clearing through the user manager

MemoryGame/MemoryGame/Service/GameManager.csVerified GitHub source excerpt (abridged)
public static void ClearSavedGame(User user) {
    user.SavedGame = null;
    var users = UserManager.LoadUsers();
    foreach (var u in users) {
        if (u.Name.Equals(user.Name, StringComparison.OrdinalIgnoreCase)) {
            u.SavedGame = null;
            break;
        }
    }
    UserManager.SaveUsers(users);
    CommandManager.InvalidateRequerySuggested();
}

Game outcome statistics

C#

The statistics service tracks aggregate games and per-difficulty outcomes.

MemoryGame/MemoryGame/Service/StatsManager.csSelected source excerpt
userStats.TotalGames++;
if (win) {
    userStats.Wins++;
    if (!userStats.Difficulties.ContainsKey(game.Level))
        userStats.Difficulties[game.Level] = new OutcomeStats();
    userStats.Difficulties[game.Level].Wins++;
} else {
    userStats.Losses++;
}
06 · Technology

Programming languages & stack

C#
WPF
XAML
MVVM

Technology overview: C#, WPF, XAML, MVVM. The list reflects documented tools, dependencies and proposed components; for planned projects it does not prove implementation.

File types identified: 368 .jpg, 184 .png, 34 .cs, 21 .xaml

07 · Reality check

Status, evidence & limitations

The project status is based on repository sources and supplied documentation. It may be updated as the project evolves. A published case study is not a certification of production readiness.
  • Features are based on the supplied README and code inventory; no end-to-end runtime certification is implied.
08 · Resources

Project resources

Explore the public repository, source code and project documentation on GitHub.