Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

External Q&A Text Files #3

Merged
merged 14 commits into from
May 9, 2020
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,10 @@ The programme never ends – it can go back and re-ask questions and overwrite p
The “AI” picks up on inconsistent answers (e.g. if the user answers one question with a yes and later contradicts this, the AI will respond accordingly)
Ideas for the “AI”:

IT support person
Doctor
Psychiatrist
Journalist
Teacher
Decision has been made to create a AI that will check in with the user and find out how they are. Based on their reply the AI will ask a series of follow-up questions that will push the user to explore.....

Your team will present its programme in a team presentation after the mini-project.

How do you hand it in?

This time you are going to take a much more technical approach to group work. Your team should work in a shared repo in GitHub. Each team member will work in their own clone of this repo and push their changes to the remote to integrate their work. Make sure you commit often and that your commit messages communicate effectively to your team about what you have changed. You should all use plenty of code commenting.

## Task 2

Game
Original file line number Diff line number Diff line change
@@ -1,11 +1,44 @@
using System;
using System.IO; // For Importing Text Strings From Text Files

namespace TeamAProfessionalPracticeGroupProject
{
class PPGroupProject
{
static void Main()
{
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("################################################################");
Console.WriteLine("###########Welcome, This Program is Here To Help You!###########\nCovid-19 Lockdown has been tough, so we are here to check in.");
Console.WriteLine("################################################################");
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("Please Enter your name :");
string NameInput = Console.ReadLine();
Console.Write($"Hi {NameInput}");
Console.WriteLine("On scale of 1 to 10 how you feeling today??");
int userchoice = Convert.ToInt32(Console.ReadLine());
switch (userchoice)
{
case 1:
Console.WriteLine("you need moto");
break;
case 2:
Console.WriteLine("you need moto");
break;
case 3:
Console.WriteLine("you need moto");
break;
case 4:
Console.WriteLine("you need moto");
break;
case 5:
Console.WriteLine("you need moto");
break;
default:
Console.WriteLine("bb");
break;
}

Console.ReadLine();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,13 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<None Update="AnswerStrings.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="QuestionStrings.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>