Code Monkey home page Code Monkey logo

movietheatersystem's Introduction

MovieTheaterSystem

Project Description

This java project acts as a reservation system for movie theater - allows users to add reservations and edit orders. The program is based on a user login system that keeps track of each customer's orders.

  • A login is presented at the beginning of the program, giving access to a specific customer's orders or an admin profile.

Customers

  • When creating a new order, a customer has the option to choose which auditorium they would like to reserve seats in. The user then has the option of selecting the row, seats, and types of tickets in their order. If the seat(s) are unavailable, and algorithm will calculate the best available set of seats (closest to center) in the auditorium and will ask the user if they would like to reserve them.
  • The user also has the option of removing seats from an order, adding seats from an order, or deleting entire orders.
  • The user may also select to view a reciept of their orders.
  • The user may also log out and go back to the login menu.

Admin

  • The admin has the option to generate a formatted report detailing what each auditorium is composed of and how much money is made in ticket sales.
  • The admin may also log out and go back to the login menu.
  • The admin may exit the program, rewriting all auditorium files based on orders for each user.

Information

  • The username-password pairs are read from a data file (userdb.dat) and stored in a hashmap, username being the key, and the data including the password in addition to any orders the user has.
  • Each Auditorium is stored in a text file (A1.txt, A2.txt, A3.txt) and has an arbitrary number of rows and columns ranged A-Z
  • Each seat is either empty, Adult, Child, or Senior, represented by a period, A, C, or S, respectively.

movietheatersystem's People

Contributors

milang99 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.