This console application will allow the user to play MadLibs
This application sets up a C# environment that uses Views & uses .NET Core Sdk 2.2
Make sure you have git version control installed on your computer.
- Click the green 'Clone or Download' button and copy the link / download the zip
- Open terminal and type... or skip to #4 if you downloaded the zip
Windows
cd desktop
Mac & linux
cd ~/Desktop
- in terminal type 'git clone {link to repository} '
git clone {link to repository}
- If you downloaded the zip then extract all onto your desktop
- Open the folder with VSC or an equivalent
- Download .NET Core Sdk 2.2 & Run dotnet -- version in the terminal to confirm installation
- In the terminal Run dotnet tool install -g dotnet-script
- Open project & Run dotnet run
- Enjoy
Behavior | Input | Output |
---|---|---|
The program will welcome the user | 'dontnet run' | 'Welcome to Pierre's' |
The program will tell the user how much bread/pastries cost | 'dotnet run' | '1 bread loaf = $5, with a buy two get one free special', '1 pastry = $2 or 3 for $5' |
The program will ask the user what they would like to buy | 'Bread and/or Pastries' | 'holds response data' |
The program tells the user how much their order will cost | '2 loaves (get another free) & 3 pastries' | '$15' |
The program thanks the user for their buisness | 'N/A' | 'Thank you for your time' |
N/A - 5/8/2020
WiseFool92.github.io/MadLibsCSharp
Email: watkins92@gmail.com
-
-
source.unsplash.com will return a random image at a desired size by simply calling the size after the url followed by a '?' and a keyword. Example below
-
http://unsplash.it/500/500 - This will just return a random image the size of 500x500
-
This project is licensed under the MIT License
Copyright (c) 2020 Nathan Watkins-Hoagland & Erik Settels