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;
- using System.Threading;
- namespace ConsoleGame
- {
- class Program
- {
- public static PlayerCharacter pc;
- static void Main(string[] args)
- {
- Console.WindowHeight = 35;
- Console.WindowWidth = 100;
- Console.Title = @"ConsoleGame";
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.WriteLine("Todays Message: Copy & Paste RuleZz");
- Console.ForegroundColor = ConsoleColor.White;
- Console.WriteLine("");
- Console.WriteLine("1. New Game \n2. Load Game \n3. Credits \n4. Rip");
- MAINMENU_OPTION choice;
- do
- {
- choice = (MAINMENU_OPTION)Int16.Parse(Console.ReadLine());
- switch (choice)
- {
- case MAINMENU_OPTION.NEW_GAME:
- Console.Clear();
- newgame();
- break;
- case MAINMENU_OPTION.LOAD_GAME:
- Console.Clear();
- break;
- case MAINMENU_OPTION.SHOW_CREDITS:
- Console.Clear();
- credits();
- break;
- case MAINMENU_OPTION.EXIT:
- break;
- default:
- Console.WriteLine("I don't under... F*CK OFF!!!");
- break;
- }
- } while (choice < MAINMENU_OPTION.NEW_GAME || choice > MAINMENU_OPTION.EXIT);
- }
- static void newgame()
- {
- Console.WriteLine("Choose your Class:\n");
- Console.WriteLine(@"1. Warrior 2. Mage 3. Rogue");
- CHARSELECT_OPTION choice;
- do
- {
- choice = (CHARSELECT_OPTION)Int16.Parse(Console.ReadLine());
- switch (choice)
- {
- case CHARSELECT_OPTION.PICK_CLASS_WARRIOR:
- pc.gold = 0;
- pc.level = 1;
- pc.hp = 50;
- pc.maxhp = 50;
- pc.mp = 10;
- pc.maxmp = 10;
- pc.strength = 7;
- pc.dexterity = 4;
- pc.intelligence = 3;
- pc.stamina = 6;
- pc.exp = 0;
- pc.maxexp = 50;
- Console.Clear();
- Console.WriteLine("You've choosen the path of the warrior!");
- break;
- case CHARSELECT_OPTION.PICK_CLASS_MAGE:
- pc.gold = 0;
- pc.level = 1;
- pc.hp = 25;
- pc.maxhp = 25;
- pc.mp = 25;
- pc.maxmp = 25;
- pc.strength = 3;
- pc.dexterity = 5;
- pc.intelligence = 8;
- pc.stamina = 4;
- pc.exp = 0;
- pc.maxexp = 50;
- Console.Clear();
- Console.WriteLine("You've choosen the path of the mage!");
- break;
- case CHARSELECT_OPTION.PICK_CLASS_ROUGE:
- pc.gold = 0;
- pc.level = 1;
- pc.hp = 35;
- pc.maxhp = 35;
- pc.mp = 15;
- pc.maxmp = 15;
- pc.strength = 3;
- pc.dexterity = 8;
- pc.intelligence = 3;
- pc.stamina = 6;
- pc.exp = 0;
- pc.maxexp = 50;
- Console.Clear();
- Console.WriteLine("You've choosen the path of the rogue!");
- break;
- default:
- Console.WriteLine("I don't under... F*CK OFF!!!");
- break;
- }
- } while (choice < CHARSELECT_OPTION.PICK_CLASS_WARRIOR || choice > CHARSELECT_OPTION.PICK_CLASS_ROUGE);
- for (int i = 0; i < 3; i++)
- {
- Console.Write(".");
- Thread.Sleep(1000);
- }
- gamemenu();
- }
- static void gamemenu()
- {
- Console.WriteLine("");
- Console.WriteLine(" 1. Grind \n 2. Dungeon \n 3. Tavern \n 4. Inventory & Stats \n");
- string choose = Console.ReadLine();
- int chooseInt = Convert.ToInt32(choose);
- Console.Clear();
- switch (chooseInt)
- {
- case 1:
- break;
- case 2:
- break;
- case 3:
- break;
- case 4:
- break;
- }
- Console.ReadLine();
- }
- static void credits()
- {
- Console.WriteLine("Who the F*CK reads the Credits?!");
- Console.WriteLine("Press Any Key to continue, dumb c*nt...");
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement