Advertisement
nikolay09

Untitled

Nov 30th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.93 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ADVENTUREGAME
  4. {
  5.     class MainClass
  6.     {
  7.         public static void Main (string[] args)
  8.         {
  9.             //Strings And Ints
  10.             string name;
  11.             string race;
  12.             string Info;
  13.             string Choice1;
  14.             string worldName;
  15.             string worldName2;
  16.  
  17.  
  18.             //Start
  19.             Console.WriteLine("Hello This Is Alpha Version 0,1");
  20.             Console.WriteLine ("Press <Space> To Continue");
  21.             Console.ReadKey ();
  22.             Console.Clear ();
  23.             //World Name
  24.             worldName:
  25.             Console.Clear ();
  26.             Console.WriteLine ("What do you want to world to be called?");
  27.             worldName = Convert.ToString (Console.ReadLine());
  28.             Console.WriteLine ("Is " +worldName+" alright? if not then type 'No' Its Case Sensetive. If it is then press <Enter>");
  29.             worldName2 = Convert.ToString (Console.ReadLine ());
  30.             Console.Clear ();
  31.             if (worldName2 == "No")
  32.             {
  33.                 goto worldName;
  34.  
  35.             }
  36.  
  37.  
  38.  
  39.  
  40.  
  41.             //Charachter Creation
  42.             Console.WriteLine ("Hello!");
  43.             Console.WriteLine ("Welcome To The World Of "+worldName+"!");
  44.             Console.WriteLine ("First Tell Me Your Name");
  45.             name = Convert.ToString (Console.ReadLine());
  46.             if (name == "Nikolay")
  47.             {
  48.                 Console.WriteLine ("Hello Creator!");
  49.                 Console.WriteLine ("Press space");
  50.                 Console.ReadKey ();
  51.                 goto master;
  52.  
  53.             }
  54.             master:
  55.             Console.Clear ();
  56.             Console.WriteLine("Welcome " + name);
  57.             Console.WriteLine ("What race are you");
  58.             Console.WriteLine ("Hint: Case Sensetive");
  59.             Console.WriteLine ("Type Human If You Are An Human");
  60.             Console.WriteLine ("Type Orc if you are an Orc");
  61.             Console.WriteLine ();
  62.             race = Convert.ToString (Console.ReadLine());
  63.             if (race != "T")
  64.             {  
  65.                 Console.Clear ();
  66.                 Console.WriteLine ("Ok Your Characther Is Created!");
  67.                 Console.WriteLine("If You Want To Check Your Characther Type 'Info'!");
  68.                 Info = Convert.ToString (Console.ReadLine());
  69.  
  70.            
  71.                 {
  72.                 Console.WriteLine ("You Are A "+ race);
  73.             Console.WriteLine ("Your Name Is " + name);
  74.                     Console.WriteLine ("Press <Space> To Get Back");
  75.                     Console.ReadKey ();
  76.                     Console.Clear ();
  77.  
  78.  
  79.                 }
  80.                 //First Quest
  81.                 Console.WriteLine ("Ok Now Your Done With Charatcher Creation");
  82.                 Console.WriteLine ("Now Back To The Quest");
  83.                 Console.WriteLine ("Your Quest Is To Save The Princess");
  84.                 Console.WriteLine ("You Wil Get An Sword");
  85.                 Console.WriteLine ("Sword Aquierd");
  86.                 Console.WriteLine ("Now Lets Begin Your Quest");
  87.                 Console.ReadKey ();
  88.                 Console.Clear ();
  89.                 Cell:
  90.                 Console.WriteLine("You Wake Up In An Wierd Place");
  91.                 Console.WriteLine ("When You Look Around You See Its An Cell");
  92.                 Console.WriteLine ("Hint: Case Sensetive");
  93.                 Console.WriteLine ("You Can Try To Smash Though The Bars <Type 'Smash' To Smash Through The Bars>");
  94.                 Console.WriteLine ("You Can Try To Search For Materials <Type 'Search' To Search For Materials>");
  95.                 Console.WriteLine ("You Can Shout For Help <Type 'Shout' To Shout For Help>");
  96.                 Choice1 = Convert.ToString (Console.ReadLine());
  97.                 if (Choice1 == "Smash")
  98.                 {
  99.                     Console.WriteLine ("You Try With Your Hands........... Its Not Working");
  100.                     Console.WriteLine ("You Try With Your Sword............ It Almost Worked");
  101.                     Console.WriteLine ("Your Try With Your Sword Again You Are Out");
  102.  
  103.  
  104.  
  105.                 }
  106.  
  107.                 if (Choice1 == "Search")
  108.                 {
  109.                     Console.WriteLine ("You Searched For Materials...........................................................................................................................................");
  110.                     Console.WriteLine ("You Found An Wierd Liquid");
  111.                     Console.WriteLine("<Want To Use The Liquid On The Bars Type 1 If Not Type 2>");
  112.                 }
  113.  
  114.                 if (Choice1 == "Shout")
  115.                 {
  116.                     Console.Clear();
  117.                     Console.WriteLine ("FAiL AWAWAWAWAWAWLELELELELELELELELELELELELELELELELLEELLELELEL");
  118.                     Console.WriteLine ("U DIED LELELELELEL :)<<<<<<<<<<<<");
  119.                     Console.ReadKey ();
  120.                     Console.Clear ();
  121.                     goto Cell;
  122.                 }
  123.            
  124.  
  125.  
  126.             Console.ReadKey ();
  127.         }
  128.     }
  129. }
  130. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement