diff --git a/PigLatin/PigLatin.cs b/PigLatin/PigLatin.cs
index 702647dd..ee556947 100644
--- a/PigLatin/PigLatin.cs
+++ b/PigLatin/PigLatin.cs
@@ -7,7 +7,9 @@ class Program
public static void Main()
{
// your code goes here
-
+ String userInput = "";
+ Console.WriteLine("Enter a word:")
+ Console.ReadLine();
// leave this command at the end so your program does not close automatically
Console.ReadLine();
}
@@ -15,6 +17,7 @@ public static void Main()
public static string TranslateWord(string word)
{
// your code goes here
+ userInput = Console.ReadLine();
return word;
}
}
diff --git a/TextGame/Program.cs b/TextGame/Program.cs
new file mode 100644
index 00000000..eb04b169
--- /dev/null
+++ b/TextGame/Program.cs
@@ -0,0 +1,69 @@
+using System;
+using System.Threading;
+
+namespace TextGame
+{
+
+ class Program
+ {
+
+ static void Main(string[] args)
+ {
+ Console.WriteLine("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
+ Console.WriteLine("Welcome to the cavern of secrets!");
+ Console.WriteLine("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
+ Thread.Sleep(1000);
+ Console.WriteLine("You enter a dark cavern out of curiosity. It is dark and you can only make out a small stick on the floor.");
+ Console.WriteLine("Do you take it? [y/n]: ");
+ string ch1 = Console.ReadLine();
+ string ch2 = Console.ReadLine();
+ string ch3 = Console.ReadLine();
+
+ int stick = 0;
+ if (ch1 == "y")
+ {
+ Console.WriteLine("You have taken the stick!");
+ Thread.Sleep(2000);
+ stick = 1;
+ }
+ else
+ {
+ Console.WriteLine("You did not take the stick");
+ stick = 0;
+ Console.WriteLine("As you proceed further into the cave, you see a small glowing object");
+
+ }
+ if (ch2 == "y")
+ {
+ Console.WriteLine("You approach the object...");
+ Thread.Sleep(2000);
+ Console.WriteLine("As you draw closer, you begin to make out the object as an eye!");
+ Thread.Sleep(2000);
+ Console.WriteLine("The eye belongs to a giant spider!");
+ Console.WriteLine("Do you try to fight it? [Y/N]");
+ }
+ if (ch3 == "y")
+ {
+ if (stick == 1)
+ Console.WriteLine("You only have a stick to fight with!");
+ Console.WriteLine("You quickly jab the spider in it's eye and gain an advantage");
+ Thread.Sleep(2000);
+ Console.WriteLine("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
+ Console.WriteLine(" Fighting... ");
+ Console.WriteLine(" YOU MUST HIT ABOVE A 5 TO KILL THE SPIDER ");
+ Console.WriteLine("IF THE SPIDER HITS HIGHER THAN YOU, YOU WILL DIE");
+ Console.WriteLine("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
+ Thread.Sleep(2000);
+ // Random randomNub = new Random();
+ // int fdmg1 = Random.Next(3, 11);
+ // int edmg1 = Random.Next(1, 6);
+ //the random number gen will not display properly- im getting an error message
+ Console.WriteLine("you hit a");
+ Console.WriteLine("the spider hits a");
+ Thread.Sleep(2000);
+ }
+
+
+ }
+ }
+}
diff --git a/TextGame/textgame.csproj b/TextGame/textgame.csproj
new file mode 100644
index 00000000..23df6047
--- /dev/null
+++ b/TextGame/textgame.csproj
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp2.1
+
+
+
diff --git a/Week1-Practice/Program.cs b/Week1-Practice/Program.cs
new file mode 100644
index 00000000..f5903523
--- /dev/null
+++ b/Week1-Practice/Program.cs
@@ -0,0 +1,51 @@
+using System;
+
+namespace Week1_Practice
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ int input1 = 0;
+ int input2 = 0;
+
+ Console.WriteLine("Give me a number between 0 and 100:");
+ input1 = Convert.ToInt32(Console.ReadLine());
+ Console.WriteLine("Give me another number between 0 and 100:");
+ input2 = Convert.ToInt32(Console.ReadLine());
+
+ Console.WriteLine(input1 + input2);
+
+ int yardLength = 0;
+ int inchLength = 0;
+ Console.WriteLine("Give me a number of yards?");
+ yardLength = Convert.ToInt32(Console.ReadLine());
+ inchLength = (yardLength * 36);
+
+ Console.WriteLine("You have {0} inches!", inchLength);
+
+ bool people = true;
+ bool f = false;
+ decimal numb = 0.0M;
+
+
+ string firstName = "DeMarco";
+ string lastName = "Spears";
+ int age = 27;
+ string job = "Client Support Agent";
+ string favoriteBand = "Beetles";
+ string favoriteSportsTeam = "Golden State Warriors";
+
+
+ Console.WriteLine("Give me a decimal number?");
+ numb = Convert.ToDecimal(Console.ReadLine());
+ Console.WriteLine(numb * numb);
+ Console.WriteLine("I love sports my favorite team is the {0}", favoriteSportsTeam);
+ Console.WriteLine("My birthday is on the forth of July, I'm {0} years old!", age);
+ Console.WriteLine("My favorite band of all time is the {0}!", favoriteBand);
+ Console.WriteLine("I work at Dell as a {0}!", job);
+
+ }
+ }
+
+}
diff --git a/Week1-Practice/Week1-Practice.csproj b/Week1-Practice/Week1-Practice.csproj
new file mode 100644
index 00000000..b8c2678e
--- /dev/null
+++ b/Week1-Practice/Week1-Practice.csproj
@@ -0,0 +1,9 @@
+
+
+
+ Exe
+ netcoreapp2.1
+ Week1_Practice
+
+
+