Giter VIP home page Giter VIP logo

restaurant-simulation's Introduction

식당 시뮬레이션

하나의 주문을 기준으로 알고리즘을 구현합니다

주문

  • 음식 버튼을 누르면 주문이 들어가고 주문 목록에 출력됩니다
  • 순댓국은 요리시간이 1초가 걸리고 해장국은 2초가 걸립니다

요리

  • 요리사는 대기중요리중 의 상태를 갖습니다
  • 요리사는 2명입니다
  • 대기중인 요리사가 있을 때까지 기다렸다가 요리를 시킵니다
  • 주문 목록에서 제거하고 요리중 목록에 출력합니다

서빙

  • 요리가 끝나면 요리 목록에서 제거하고 서빙 목록에 출력합니다
  • 서버는 대기중서빙 의 상태를 갖습니다
  • 서버는 2명이며, 한 명은 서빙시간이 1초가 걸리고 다른 한 명은 2초가 걸립니다
  • 대기중인 서버가 있을 때까지 기다렸다가 서빙을 시킵니다
  • 서빙이 끝나면 서빙 목록에서 제거합니다

restaurant-simulation's People

Contributors

seonsy44 avatar

Watchers

 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.