public static void Codes() { Console.Clear(); Pictures.Notes(); Console.WriteLine(" ___________________________________________________________________________________________________________________________"); Console.WriteLine("Dialog: "); Console.ForegroundColor = ConsoleColor.Cyan; Console.WriteLine("Narrator: There isn't much to see here, except two notes and a keypad. Let's give it a try"); Console.WriteLine(""); Console.WriteLine(""); Console.WriteLine(""); Console.ResetColor(); Console.Write(" Press 'enter' to continue. . ."); Console.ResetColor(); Console.ReadLine(); }
public static void TheEnd() { Console.Clear(); Pictures.EndScreen(); Console.WriteLine("You made it!"); Console.WriteLine("You are now safe and chilling on a beach waiting for a pick up"); Console.WriteLine(""); Console.BackgroundColor = ConsoleColor.DarkRed; Console.WriteLine("Your stats:"); if (Quest2.Dead == false) { Console.WriteLine("You friend made it out alive, if the AI keeps it's word"); } else if (Quest2.Dead == true) { Console.WriteLine("You friend didn't make it"); } Console.WriteLine("You got {0} failed riddles", Quest2.failed); Console.ResetColor(); Console.WriteLine(); Console.WriteLine("Type in 'Exit' to exit or anything else to play again. . ."); }
public static void InvComputer() { Console.ResetColor(); Console.Clear(); Console.CursorVisible = true; bool login = true; while (login) { Console.Write("User: "******"Password: "******"admin" && adgangskode == "1234") { login = false; } else if (brugernavn == "Leave" && adgangskode == "Pc") { Pictures.PC(); Console.WriteLine("Press 'Enter' to investigate the computer. . ."); Console.ReadLine(); Console.ResetColor(); Console.Clear(); } else { Console.Beep(500, 1000); Console.WriteLine("Unknown user or password"); Console.WriteLine("Type in 'Leave' as user and 'Pc' as password to leave the computer"); System.Threading.Thread.Sleep(2500); } } Console.Clear(); Console.WriteLine("You did it"); System.Threading.Thread.Sleep(1000); Console.Write("Hello "); System.Threading.Thread.Sleep(1000); Console.Write("Who are you? "); System.Threading.Thread.Sleep(1000); Console.WriteLine("Wait how did you get the log-in codes? "); System.Threading.Thread.Sleep(3000); Console.Clear(); Console.Write("It doesn't matter. "); System.Threading.Thread.Sleep(1000); Console.Write("What do you want?"); System.Threading.Thread.Sleep(3000); Console.Clear(); Console.Write("That doesn't matter either. "); System.Threading.Thread.Sleep(1000); bool Friend = true; while (Friend) { Console.Clear(); Console.WriteLine("Are you a Friend?"); Console.Write("(Y/N): "); string result = Console.ReadLine(); if (result == "n" || result == "n") { Console.WriteLine("Why not?"); System.Threading.Thread.Sleep(1000); Console.WriteLine("Come back when you are more reasonable"); System.Threading.Thread.Sleep(2000); } else if (result == "y" || result == "Y") { Friend = false; } else { Console.WriteLine("invalid answer!"); System.Threading.Thread.Sleep(1000); } } Console.Clear(); Console.Write("Well"); System.Threading.Thread.Sleep(1000); Console.Write(", Now that we all are friends"); System.Threading.Thread.Sleep(1000); Console.Clear(); Console.Write("Shouldn't we play a game?"); System.Threading.Thread.Sleep(3000); Console.Clear(); Console.Write("Yes we should"); System.Threading.Thread.Sleep(3000); Console.Clear(); Console.Write("I am"); System.Threading.Thread.Sleep(1000); Console.Write(" going to give"); System.Threading.Thread.Sleep(1000); Console.Write(" 3 riddles "); System.Threading.Thread.Sleep(3000); Console.Clear(); Console.Write("and if "); System.Threading.Thread.Sleep(1000); Console.Write("you don't answer correctly "); System.Threading.Thread.Sleep(1000); Console.Clear(); Console.ForegroundColor = ConsoleColor.Red; Console.Write("i'll kill your friend!"); Console.ResetColor(); System.Threading.Thread.Sleep(3000); Console.Clear(); Console.Write("Riddle number 1:"); }