How zfnick/simple-cinema-booking-system works
Main Components
a) Core Modules (represented as rectangles):
• Movie Management Module (MovieList.hpp)
• Seat Management Module (seatArrangement.hpp)
• Booking Interface (menuSelection.hpp)
• Receipt Generation Module (DisplayReceipt.hpp)
• Seat Visualization Module (ViewSeats.hpp)
b) Data Flow Components:
• User Input/Output Interface
• Data Storage (in-memory structures)
• Booking Processing Pipeline
┌─────────────────────────┐
• Menu Selection │
• ┘
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
• Movie List │ │ View Seats │ │ Booking │
• ┘ └─────────────┘ └─────────────┘
┌─────────────┐ ┌─────────────────────┐
• Seat │ │ Receipt │
• Arrangement │ │ Generation │
• ┘ └─────────────────────┘
Component Relationships
• Menu Selection → Movie List (movie browsing)
• Menu Selection → View Seats (seat visualization)
• View Seats → Seat Arrangement (seat status checking)
• Menu Selection → Booking Processing (booking creation)
• Booking Processing → Receipt Generation (receipt creation)
Technical Details
Notes indicating:
• C++ implementation
• In-memory data storage
• Header-only architecture (.hpp files)