Class Design of Systems

Here, I am sharing several class design diagrams of various systems. Please pay attention to various design patterns that are applied in the designs.

Spotify
Elevator
Parking lot
Restaurant Reservation
Chess Game
File System
Card Game
Spotify Design

The below design utilizes the strategy pattern to determine the audio quality based on network bandwidth.

Elevator Design

Utilizes the strategy pattern.

Parking Lot

Restaurant Reservation

The design uses strategy and state design patterns.

Chess Game

File System

Utilizes visitor, composite, and proxy patterns.

Card Game