Giter VIP home page Giter VIP logo

movie_threater's Introduction

Introduction

This is a poorly written application, and we're expecting the candidate to greatly improve this code base.

Instructions

  • Consider this to be your project! Feel free to make any changes
  • There are several deliberate design, code quality and test issues in the current code, they should be identified and resolved
  • Implement the "New Requirements" below
  • Keep it mind that code quality is very important
  • Focus on testing, and feel free to bring in any testing strategies/frameworks you'd like to implement
  • You're welcome to spend as much time as you like, however, we're expecting that this should take no more than 2 hours

movie-theater

Current Features

  • Customer can make a reservation for the movie
    • And, system can calculate the ticket fee for customer's reservation
  • Theater have a following discount rules
    • 20% discount for the special movie
    • $3 discount for the movie showing 1st of the day
    • $2 discount for the movie showing 2nd of the day
  • System can display movie schedule with simple text format

New Requirements

  • New discount rules; In addition to current rules
    • Any movies showing starting between 11AM ~ 4pm, you'll get 25% discount
    • Any movies showing on 7th, you'll get 1$ discount
    • The discount amount applied only one if met multiple rules; biggest amount one
  • We want to print the movie schedule with simple text & json format

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.