Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Q1
- {
- class Program
- {
- static void Main(string[] args)
- { // Variables
- string optionMenu, optionEnvironment, environment;
- string charName;
- const string BAN = ""; // Console.WriteLine(BAN.PadLeft(60,'='));
- //==============================================*Menu*==============================================
- // Menu- Start
- Console.Write("\n\t-=\"Wanna Play A Game?\"=-\n\n Main Menu\n 1 <-Begin\n 2 <-Quit\n\n Option: "); // Main Menu
- optionMenu = Console.ReadLine();
- Console.WriteLine(BAN.PadLeft(60, '='));
- // Menu- Character
- if (optionMenu == "1")
- {
- Console.Write(" Enter your Character's name: "); // Character's Name
- charName = Console.ReadLine();
- Console.WriteLine(BAN.PadLeft(60, '='));
- // Menu- Environment
- Console.Write(" Choose your Environment (Choose/Make it up)\n 1 <-Argonia\n 2 <-Bara Magna\n 3 <-Corona\n\n Option: ");
- optionEnvironment = Console.ReadLine();
- switch (optionEnvironment) // Environment Inhabited
- {
- case "1":
- environment = "Argonia";
- break;
- case "2":
- environment = "Bara Magna";
- break;
- case "3":
- environment = "Corona";
- break;
- default:
- environment = optionEnvironment;
- break;
- }
- Console.WriteLine(BAN.PadLeft(60, '='));
- //==================================*Plot Chapter 1*============================================
- Console.WriteLine("*********STORY TO BE TOLD********\n");
- }
- else
- {
- Console.WriteLine("\n\tGoodbye!\n");
- Console.WriteLine(BAN.PadLeft(60, '='));
- Environment.Exit(0);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement