Preview 1


SUBMITTED BY: Guest

DATE: Aug. 10, 2014, 4:22 p.m.

FORMAT: Text only

SIZE: 3.1 kB

HITS: 616

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. //Namespace
  7. namespace Testapp
  8. {
  9. //Class
  10. class Program
  11. {
  12. //Function
  13. static void Main(string[] args)
  14. {
  15. //Starting point of everything
  16. Console.WriteLine("Hello and welcome to the MINECRAFT QUIZ made by 2lol555!");
  17. Console.WriteLine("I will ask you Five simple questions and you answer with A B and C.");
  18. Console.WriteLine("What was notch doing when he made a creeper?");
  19. Console.WriteLine("A. He was modeling a cow.");
  20. Console.WriteLine("B. He was just qwirking around with stuff.");
  21. Console.WriteLine("C. He did it on purpose.");
  22. ConsoleKeyInfo keyinfo = Console.ReadKey();
  23. if (keyinfo.KeyChar == ('a'))
  24. {
  25. Console.WriteLine("Correct");
  26. Console.WriteLine("Ok next question");
  27. Console.WriteLine("How deep do you have to go to find diamonds?");
  28. Console.WriteLine("A. From level 30 and lower.");
  29. Console.WriteLine("B. From level 10 and lower");
  30. Console.WriteLine("C. From Level 15 and lower");
  31. ConsoleKeyInfo keyinfoq2 = Console.ReadKey();
  32. if (keyinfoq2.KeyChar == ('c'))
  33. {
  34. Console.WriteLine("Correct");
  35. Console.WriteLine("Next question");
  36. Console.WriteLine("What is the default minecraft character called?");
  37. Console.WriteLine("A. Fred");
  38. Console.WriteLine("B. Bob");
  39. Console.WriteLine("C. Steve");
  40. ConsoleKeyInfo keyinfoq3 = Console.ReadKey();
  41. if (keyinfoq3.KeyChar == ('c'))
  42. {
  43. Console.WriteLine("Correct");
  44. Console.WriteLine("Lets go to the next question!");
  45. }
  46. else
  47. {
  48. Console.WriteLine("Wrong try again!");
  49. }
  50. }
  51. else
  52. {
  53. Console.WriteLine("Wrong try again!");
  54. }
  55. }
  56. else
  57. {
  58. Console.WriteLine("Wrong try again!");
  59. }
  60. Console.WriteLine("Made by 2lol555!");
  61. Console.WriteLine("Official source code download on:");
  62. Console.WriteLine("");
  63. Console.WriteLine("My youtube channel:");
  64. Console.WriteLine("www.youtube.com/minecraftmoovies");
  65. Console.WriteLine("Thanks for playing!");
  66. Console.WriteLine("Copyright: 2lol555");
  67. }
  68. }
  69. }

comments powered by Disqus