Skip to content

justfetz/hyperskill-java-cinema-room-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cinema Room Manager

Project Description

This project is part of the Hyperskill Java track by JetBrains Academy. The Cinema Room Manager project focuses on managing cinema room seating arrangements using 2D arrays and data structures. It also emphasizes Object-Oriented Programming (OOP) principles in Java to handle various functionalities such as booking tickets, viewing available seats, and calculating revenue.

Features

  • Display Seating Arrangement: Show the current seating arrangement of the cinema room.
  • Book Tickets: Allow users to book tickets for specific seats.
  • Cancel Tickets: Allow users to cancel their bookings.
  • Calculate Revenue: Calculate the current and potential revenue from ticket sales.
  • Statistics: Provide statistics on the number of purchased tickets, percentage of occupancy, current income, and total income.

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Integrated Development Environment (IDE) such as IntelliJ IDEA or Eclipse

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/hyperskill-java-cinema-room-manager.git
    cd cinema-room-manager
  2. Open the project in your IDE:

    • Open your preferred IDE and import the cloned project.
  3. Build the project:

    • Use the build tool provided by your IDE (e.g., Maven or Gradle) to build the project.

Usage

  1. Run the Program:

    • Execute the main class CinemaRoomManager.java to run the program.
  2. Menu Options:

    • Show the seats: Displays the current seating arrangement.
    • Buy a ticket: Allows the user to book a ticket by selecting a seat.
    • Statistics: Shows statistics about ticket sales and revenue.
    • Exit: Exits the program.

Example

Sample Output

About

A project on managing a 2d cinema, OOP Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published