You are on page 1of 7

using System;

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace PROJECT_UPDATED
{
class Introduction
{
static void Main(string[] args)
{
string name1;
//string name2;
//string character1, character2;
//int itemorattack1 = 0;
//int itemorattack2 = 0;
//int attack1 = 0;
//int item1 = 0;
//int attack2 = 0;
//int item2 = 0;
//int player1FP = 0, player2FP = 0;
//int player1DP = 50, player2DP = 50;

Console.BackgroundColor = ConsoleColor.DarkBlue;
Console.Clear();
var myString = @"A long time ago, the Salazar sisters all lived in
harmony. It all changed when their mama started being unfair to each of them.
Now they are on a quest of fighting to find out who is........";
foreach (var character in myString)
{
Console.Write(character);
Thread.Sleep(20);
}
Console.WriteLine();
Console.WriteLine();
Console.WriteLine(@"## ## ### ## ## ### ##
###### ######## ### ## ## ####### ######## #### ######## ########
### ### ## ## ### ### ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ##
#### #### ## ## #### #### ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ##
## ### ## ## ## ## ### ## ## ## ## ###### ###### ## ## ##
## ## ## ######## ## ## ######
## ## ######### ## ## ######### ## ## ## ######### ##
## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ###### ## ## ##
### ####### ## ## #### ## ######## ");

Console.WriteLine();
var myString1 = @"Your goal is to become mama's favorite by gaining 50
Favorite Points without compromising your Diva Points or health points. Go against
your sisters by spitting out your famous unkabogable lines that will surely leave
your sister #SHOOKT!";
foreach (var character in myString1)
{
Console.Write(character);
Thread.Sleep(20);
}
Console.WriteLine();
Console.WriteLine();
var myString2 = @"ARE YOU READY?";
foreach (var character in myString2)
{
Console.Write(character);
Thread.Sleep(20);
}

Console.WriteLine();
Console.Write("Player 1, enter name please: ");
name1 = Console.ReadLine();
Console.WriteLine();
Console.WriteLine();

var myString3 = @"Welcome, " + name1 + "! Please select a character.


Remember: all characters start off with 0 Favorite Points Ps and 50 Diva Pointss.
Choose carefully! ";
foreach (var character in myString3)
{
Console.Write(character);
Thread.Sleep(20);
}
int choice = ConsoleHelper.MultipleChoice(true, "Teddie", "Bobbie",
"Gabbie", "Alex");
Console.Clear();
}
//class Program
//{
// static void Main1(string[] args)
// {
// int choice = ConsoleHelper.MultipleChoice(true, "Teddie",
"Bobbie", "Gabbie", "Alex");
// Console.Clear();
// }
//}
public class ConsoleHelper
{
public static int MultipleChoice(bool canCancel, params string[]
options)
{
List<string> AttacksT = new List<string>();
AttacksT.Add("Ma, I�m sorry ma.");
AttacksT.Add("Reveal secret na naging Maid in Spain lang at hindi
teacher");
AttacksT.Add("Kasi ikaw naman talaga yung magaling, di ba? Ikaw
yung matalino, ikaw yung maganda. Lahat�ikaw na!");
AttacksT.Add("Hello Philippines!");

List<string> AttackDescT = new List<string>();


AttackDescT.Add("Limit: None \t\tStats: -5 own FP");
AttackDescT.Add("Limit: 3 \t\tStats: +10 own DP, -5 FP to
opponent");
AttackDescT.Add("Limit: 1 \t\tStats: -5 own DP, +5 FP to
opponent");
AttackDescT.Add("Limit: 1 \t\tStats: +5 own DP, -10 FP to
opponent");
List<string> ItemT = new List<string>();
ItemT.Add("Sense of humor na bentang-benta kay mama");
ItemT.Add("Taray-ness in every situation");

List<string> ItemDescT = new List<string>();


ItemDescT.Add("Limit: 1 \t\tStats: +15 own FP");
ItemDescT.Add("Limit: 2 \t\tStats: +5 own DP");

List<string> AttacksB = new List<string>();


AttacksB.Add("Hindi talino ang kulang sa�yo. Responsibilidad at
respeto sa pagiging magkapatid natin!");
AttacksB.Add("Don�t give comments about my personal life because I
don�t give comments about yours.");
AttacksB.Add("So bakit kasalanan ko? Parang kasalanan ko?");
AttacksB.Add("Pero okay lang tanggap ko naman kasi ang importante
binuhay niyo ko...thats good enough for me.");

List<string> AttackDescB = new List<string>();


AttackDescB.Add("Limit: 1 \t\tStats: +5 own FP, -10 DP to
opponent");
AttackDescB.Add("Limit: None \t\tStats: -5 own FP, +10 DP to
opponent");
AttackDescB.Add("Limit: 3 \t\tStats: +5 own FP, -15 DP to
opponent");
AttackDescB.Add("Limit: 1 \t\tStats: +5 own FP, -10 DP to
opponent");

List<string> ItemB = new List<string>();


ItemB.Add("Extensive vocabulary and never uses inane and poorly
worded language to describe the people she has just met");
ItemB.Add("Magpakatatag at magpakatigas sa New York away from
family");

List<string> ItemDescB = new List<string>();


ItemDescB.Add("Limit: None \t\tStats: -5 own FP");
ItemDescB.Add("Limit: 3 \t\tStats: +10 own DP, -5 FP to
opponent");

List<string> AttacksG = new List<string>();


AttacksG.Add("Ate, BA-YAG!");
AttacksG.Add("Laging nandyan para kay Mama at CJ");
AttacksG.Add("Parang kayong mga bata.");
AttacksG.Add("The old maid of the family");

List<string> AttackDescG = new List<string>();


AttackDescG.Add("Limit: 1 \t\tStats: +15 own FP");
AttackDescG.Add("Limit: 3 \t\tStats: +5 own FP, -10 DP to
opponent");
AttackDescG.Add("Limit: 1 \t\tStats: -5 own FP");
AttackDescG.Add("Limit: None \t\tStats: +5 DP to opponent");

List<string> ItemG = new List<string>();


ItemG.Add("Maternal instincts niya");
ItemG.Add("Hardworking teacher");

List<string> ItemDescG = new List<string>();


ItemDescG.Add("Limit: 2 \t\tStats: +10 own FP");
ItemDescG.Add("Limit: 1 \t\tStats: +5 own FP");
List<string> AttacksA = new List<string>();
AttacksA.Add("Black sheep of the family");
AttacksA.Add("�Wag mo akong ingles-inglesin!");
AttacksA.Add("Tatawagin kang �chararat�");
AttacksA.Add("Indie filmmaker kasi dun magiging proud sa kaniya si
mama");

List<string> AttackDescA = new List<string>();


AttackDescA.Add("Limit: None \t\tStats: -5 own FP, +5 DP to
opponent");
AttackDescA.Add("Limit: 2 \t\tStats: -10 DP to opponent");
AttackDescA.Add("Limit: 2 \t\tStats: -5 DP to opponent");
AttackDescA.Add("Limit: 1 \t\tStats: +5 own FP");

List<string> ItemA = new List<string>();


ItemA.Add("Adventurous side niya");
ItemA.Add("Bravery to stand up for herself against her cheating
jowa");

List<string> ItemDescA = new List<string>();


ItemDescA.Add("Limit: 2 \t\tStats: +10 own FP");
ItemDescA.Add("Limit: 1 \t\tStats: +5 own FP");

const int startX = 15;


const int startY = 8;
const int optionsPerLine = 4;
const int spacingPerLine = 14;

int currentSelection = 0;
ConsoleKey key;

Console.CursorVisible = false;

do
{
Console.Clear();

Console.WriteLine("You may now choose your character. Press


enter once done.");
for (int i = 0; i < options.Length; i++)
{
Console.SetCursorPosition(startX + (i % optionsPerLine) *
spacingPerLine, startY + i / optionsPerLine);

if (i == currentSelection)
Console.ForegroundColor = ConsoleColor.Yellow;
Console.Write(options[i]);
Console.ResetColor();

Console.WriteLine();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Attacks");
Console.ResetColor();

if (currentSelection == 0)
{
for (int a = 0; a < AttacksT.Count; a++)
{
Console.WriteLine(AttacksT[a]);
Console.WriteLine(AttackDescT[a]);
Console.WriteLine();

}
Console.WriteLine();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Items");
Console.ResetColor();

for (int b = 0; b < ItemT.Count; b++)


{
Console.WriteLine(ItemT[b]);
Console.WriteLine(ItemDescT[b]);
Console.WriteLine();
}
}

if (currentSelection == 1)
{
for (int a = 0; a < AttacksB.Count; a++)
{
Console.WriteLine(AttacksB[a]);
Console.WriteLine(AttackDescB[a]);
Console.WriteLine();

}
Console.WriteLine();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Items");
Console.ResetColor();

for (int b = 0; b < ItemB.Count; b++)


{
Console.WriteLine(ItemB[b]);
Console.WriteLine(ItemDescB[b]);
Console.WriteLine();
}
}

if (currentSelection == 2)
{
for (int a = 0; a < AttacksG.Count; a++)
{
Console.WriteLine(AttacksG[a]);
Console.WriteLine(AttackDescG[a]);
Console.WriteLine();

}
Console.WriteLine();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Items");
Console.ResetColor();

for (int b = 0; b < ItemG.Count; b++)


{
Console.WriteLine(ItemG[b]);
Console.WriteLine(ItemDescG[b]);
Console.WriteLine();
}
}

if (currentSelection == 3)
{
for (int a = 0; a < AttacksA.Count; a++)
{
Console.WriteLine(AttacksA[a]);
Console.WriteLine(AttackDescA[a]);
Console.WriteLine();

}
Console.WriteLine();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Items");
Console.ResetColor();

for (int b = 0; b < ItemA.Count; b++)


{
Console.WriteLine(ItemA[b]);
Console.WriteLine(ItemDescA[b]);
Console.WriteLine();
}
}

key = Console.ReadKey(true).Key;

switch (key)
{
case ConsoleKey.LeftArrow:
{
if (currentSelection % optionsPerLine > 0)
currentSelection--;
break;
}
case ConsoleKey.RightArrow:
{
if (currentSelection % optionsPerLine <
optionsPerLine - 1)
currentSelection++;
break;
}
case ConsoleKey.UpArrow:
{
if (currentSelection >= optionsPerLine)
currentSelection -= optionsPerLine;
break;
}
case ConsoleKey.DownArrow:
{
if (currentSelection + optionsPerLine <
options.Length)
currentSelection += optionsPerLine;
break;
}
case ConsoleKey.Escape:
{
if (canCancel)
return -1;
break;
}
}
} while (key != ConsoleKey.Enter);

Console.CursorVisible = true;

return currentSelection;

}
}
}
}

You might also like