Seat Booking Simulator
Overview
The Seat Booking Simulator is a C# Windows Form Application that uses Data Structure and Algorithm implementation with a Double Linked List. The goal is to create a fun and interactive simulator for seat booking that ensures safe and organized booking with distancing limitations.
User Input: When the application starts, users can set the number of seats and rows for the seating arrangement.
Seat Booking: Users can book seats by selecting the desired seat from the available seats. The simulator ensures that the seat is available and not already booked by another user.
Safe Distance Mode: The simulator includes a Safe Distance mode, where users cannot book seats next to each other to maintain a safe distance between users. If Safe Distance mode is enabled, seats around the initially booked seat are disabled and displayed in pink, preventing the next user from booking the seat beside the initial user.
Double Linked List: A Double Linked List data structure is used to keep track of the booked seats, their neighboring seats, and the seat status (booked or available).
Logic for Seat Booking: The simulator implements logic to ensure that seats are booked sequentially and that the safe distance is maintained between users.
Visual Feedback: The application provides visual feedback to users by displaying the status of seats (booked, available, or disabled) using different colors.
User-Friendly Interface: The application is designed with a user-friendly interface that allows users to easily interact with the simulator and book seats.
Limitations: The simulator may have limitations on the number of seats that can be booked at once, ensuring a realistic booking process.
Simulation Environment: The application provides a simulated environment where users can explore various scenarios and test different booking situations.
Error Handling: The simulator includes error handling to handle scenarios such as invalid seat selections and exceeding the maximum number of seats.
Application Logic: Meticulously crafted application logic ensures robust and logical functionalities. This intelligent logic underpins the simulator, providing an efficient seat booking management.