Git Product home page Git Product logo

bakery-2's Introduction

C# Bakery

C# - 5/8/2020

Eric Settels

Description

A small Console application that will allow a user to purchase bread and pastries from their local console.

Behavior Driven Development

Behavior Input Output
User is greeted when they run the program user imputs into the console dotnet run Bright cheery welcome with ascii art
User is asked if they want to enter the bakery user enter Y Title appears
User is asked if they want to enter the bakery user enter N User is told good bye
User is asked if they want to purchase something user enter N User is told good bye
User is asked if they want to purchase something user enter Y User is displayed menu with 3 types of bread (Classic, Sour, Defualt) and 4 types of pastry as well as being told about their price and type
User is asked the name of the bread or pastry they want and how many user says 'something that doesnt exist' and 4 user sees "Sorry we dont sell that make another selection"
User is asked the name of the bread or pastry they want and how many user says 'classic' and 4 user is shown their current total after applicable discounts are applied "your total cost is $18"
User is asked buy "something else? [Y]es or [N]o" User selects Y User is asked to name what they want and how many
User is asked the name of the bread or pastry they want and how many User says 'bm' and 3 user is shown their current total after applicable discounts are applied "your total cost is $23"
User is asked buy "something else? [Y]es or [N]o" User selects N User is told they spent $23 at the bakery and is told good bye

Setup/Installation

  1. Open up your terminal
  2. Navigate to the desired directory in which you want to clone this repository.
  3. Clone this repository.
  4. Run dotnet add package Colorful.Console --version 1.2.10 in the trminal
  5. Type dotnet run into the terminal
  6. Enjoy!

Known Bugs

  • Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. On bread/pastry selection

Support and contact details

If you have any questions, comments, or concerns, feel free to contact the content creator at [email protected]

Future Plans

  • None Currently

Technologies used

License

Copyright (c) 2020 C# Bakery

MIT

bakery-2's People

Contributors

neversettels avatar

Watchers

James Cloos avatar  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.