Theater Ticket System Project in Python
A program that allows users to select and purchase theater tickets at the “Uptown Theater” based on price, location, and availability, while tracking sales for the theater staff.
To start the program each day the manager must login. The main (manager) window will appear with a login, create password, and cancel button. A password must exist (see file later) for the login button to be enabled. The password is created in a separate window and must be 9 characters or more, and it must have at least on digit, uppercase and lowercase letter. The program will continue to show error messages and prompt for a password until a valid password is created. The valid password will be stored in a file for validation on login.
When a valid password has been created or on subsequent program runs, the main window “Create Account” button for the manager will be disabled. When the login button is clicked, the main window will change (morph) to add a login entry box.
When the correct password has been entered, a price selection window for the manager will appear requesting a “Pricing Selection” and a choice of Matinée or Evening pricing. The selection will determine which file is read in to load the program pricing for seating in the theater. Files are used to allow for text edit of pricing for seasonal and special event pricing.
When the pricing selection has been made, the Theater Kiosk window will appear with the theater seating and the interface for customers. The design must accommodate a user friendly seat selection and ticket purchasing interface (see the theater seating image later in this document), and the current time and next “show time”.
When a seat has been selected for purchase, the user must be able to unselect that seat or choose another. When a seat has been purchased (we’ll assume the payment is made), a ticket will be printed (displayed in a separate window), and the manager screen will be updated to reflect the change
Sold out sections must be disabled and handled in some user-friendly way, as well as reported on the management display. When all of the seats have been sold in the theater, a banner should appear on the theater display and manager screen with the text “This showing has been sold out.”, and the interface should be disabled.
The program is launched from a computer by the manager, and runs on a kiosk in the theater lobby. The manager monitors seat sales by section in another window or web page on her computer, which also displays total ticket sales in number of seats and dollars. The data is also displayed graphically, and is near-real time.
A Design Document is required and will be presented as a part of project demonstrations and submitted as a final submission. It will include step-by-step implementation screen captures, descriptions, and explanations of functionality in the program (see the sample file).
Presentations are required during the semester and a final Presentation/demonstration. The Design document will be presented first during each presentation, and then the program operation will be demonstrated.
Get Python with IDLE and create a working program using the “Getting Started in Python” exercise. The latest IDLE comes with Python 3.5.1 and above from python.org. Determine the installation location. IDLE will run fine on a flash drive. Create and run a “Hello World”-like program. Create a design/development status document that you will update as you complete the project. This will be reviewed along with the code at the Milestones. See the example design documentation.
Project Milestone #1
Begin the Design/development documentation with a generalized pseudo-code description of the order of operations for the program. Use this document for ideas and issues as well to document progress.
Implement the main loop for the program and initial main window using a grid and button widgets.
Create the “Account Creation / Login” interface and the functions using a class for the GUI in a separate module (file) and begin the design for user name and password file handling. The window is launched when the “Create Account” button is clicked. Use the key to obtain the user entry.
Design and develop the functionality for changing the window or creating a new one to obtain a user name and password including input validation. Create an error dialog that echoes the password, and create the password validation function which must test for length (9 characters or more), an uppercase and lowercase letter, and a digit. The window must contain instructions and operating “Cancel” and “Create Account” buttons.
This can be done in a single window as shown here, or as a two (2) step process.
When the “Ok” button in the “Password Accepted” dialog is clicked the Account Creation dialog should be destroyed and the main window will now have the “Create Account” button disabled. Store the user name and password for future checking. The user should login next.
Hint: The call to the login function may not be able to be handled directly through the “command=” option of the button. A call to a function within the main GUI (outside the main loop) may need to be called which then calls the login function in the separate module.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of