This console application will play rock paper scissors with you
This application is already linked to a Program.cs, .csproj, & .gitignore, but will need a .NET 3.1 or 2.2 download
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 to come play | 'dontnet run' | 'Let's play a game of RPS' |
The program will accept user's choice | 'rock, paper or scissors' | 'holds data to compare to the cpu's choice' |
The program will generate a random choice of 'rock, paper or scissors' | na | 'holds data to compare to user's choice' |
The program will compare answers and display a victor | 'User Choice' | 'victor' |
N/A - 5/8/2020
WiseFool92.github.io/RPS
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 & Eric Settels ner