Skip to content

KHC-FTW/CS3343_24-25_Group-Project_CityU-Cinema-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CityU Cinema System

image

Description

A console-based input/output Java program that supports movie ticketing and management functions. Depending on the role, such as guest, member, and admin, users can enjoy different functions such as movie listing, seat booking, user management, movie scheduling, etc.

Installation

1. Prerequisites

  • The program requires JDK 21 or later versions for compilation and execution.
  • Make sure you have already installed a compatible JDK version.
  • If not or if you face any jar compilation or runtime error, please download the latest JDK at https://www.oracle.com/hk/java/technologies/downloads/

2. Build from source

  1. Clone the repository:

    git clone https://github.com/KHC-FTW/CS3343_24-25_Group-Project_CityU-Cinema-System.git
  2. cd into the project directory:

    cd CS3343_24-25_Group-Project_CityU-Cinema-System
  3. Compile the source code. The following commands will compile the source code and place the compiled .class files in the bin directory:

    javac -classpath ./src ./src/release/Main.java -d ./bin
  4. Run the program:

    java -classpath ./bin release.Main

3. Run from JAR

  1. Clone the repository (omit if already followed step 1 above):

    git clone https://github.com/KHC-FTW/CS3343_24-25_Group-Project_CityU-Cinema-System.git
  2. cd into the project release directory:

    cd CS3343_24-25_Group-Project_CityU-Cinema-System/release
  3. Run the JAR file:

    java -jar "CityUCinemaSystem_V2.jar"

    or double click the Autorun.bat file (Windows operating system only)

Usage guide

1. Important notes:

  • In the option selection menu, user can enter the option value e.g. 1 or the name of the command (case-insensitive) e.g. login to execute the option
  • Some commands allow user to enter q or quit to terminate the process early
  • If the option menu is hidden, entering l or list can show the menu again

2. Suggested usage flow:

  • Login as admin (username: admin; password: password)
  • (At start, it is not suggested to use as guest or log in/register as member since admin has to first add and schedule movies)
  • After logged in as admin, select add movies or add default movies (for quick test purposes)
  • After successfully adding at least 5 valid movies, select schedule movies and choose a scheduling strategy
  • And boom! The system has been successfully set up and you can now freely use as admin, log out as guest or log in/register as member to enjoy the full functionalities available in each user's option menu.

About

CS3343 Group Project 24-25

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages