private ethicalDecisions[] allDecisions;
private ethicalDecisions currentDecision;
private string typedCommand;
public static void Main()
Console.WriteLine("Welcome back to reality.");
System.Threading.Thread.Sleep(1000);
Console.WriteLine("You've been out of it for a little while. But you can't escape from responsibility that easily.");
System.Threading.Thread.Sleep(1000);
Console.WriteLine("You can't avoid it. All four of them are impatiently waiting in the next room. But you can't tell them the truth about the food stocks being stolen. That would not be wise.");
System.Threading.Thread.Sleep(1000);
Console.WriteLine("Remember that yesterday you saw a food truck outside. It could have some supplies. But the sicknesses out there are highly contagious, and it could be contaminated. Would you be willing to poison your group, just to feed them?");
System.Threading.Thread.Sleep(1000);
Console.WriteLine("There is also a butcher's room out back with plenty of tools. We have a child with us who could easily go missing. We also have a new member who is a wild card. He could leave at any time. No one would be poisoned. But could you live with yourself? Besides, the guy is a veteran.");
System.Threading.Thread.Sleep(1000);
Program newGame = new Program();
newGame.allDecisions = new ethicalDecisions[]{
new ethicalDecisions(0,"error","if you can see this fix the code",new int[] {2,3}),
new ethicalDecisions(1,"So. Will you kill a resident?","Yes or No",new int[] {2,3}),
new ethicalDecisions(2,"So it has been decided. We will eat tonight.", "Would you prefer to kill the child? No one would miss him." ,new int[] {4,5}),
new ethicalDecisions(3,"So you have decided to search. Wonderful.","Will you take a trusted resident with you?.",new int[] {6,7}),
new ethicalDecisions(4,"You walk into the room, and smile at him sweetly. 'Mind helping me with dinner?' You ask. He smiled with a sparkle in his eyes. 'Of course! I'd love to!' He replies chirpily.","Will you notify the others?",new int[] {0,0 }),
new ethicalDecisions(5,"You walk into the room, and grab his attention by waving. 'Need some help out back.' You simply say. Shrugging, he gets up.","Will you notify the others?.",new int[] {0,0 }),
new ethicalDecisions(6,"You decide that it wouldn't be safe enough to go by yourself.","But who will you bring? Your best friend could come, but he's quite weak, and could get infetcted rather easily. Or you could bring the widowed woman, maybe she'll have more knowledge on foods. Do you want to bring your best friend?",new int[] {0,0 }),
new ethicalDecisions(7,"You put on some protective gear to save yourself from the diseases outside.","Without saying anything to notify anyone, you slip out of the building seemingly undetected.",new int[] {0,0 }),
newGame.currentDecision = newGame.allDecisions[1];
Console.WriteLine(newGame.currentDecision.edTitle);
Console.WriteLine(newGame.currentDecision.edIntro);
typedCommand = Console.ReadLine();
typedCommand = typedCommand.ToLower();
checkCommand(typedCommand);
public void checkCommand(string Command)
if (typedCommand.Equals("restart"))
Console.WriteLine("No, you may not. This is reality, you cannot simply restart.");
if (typedCommand.Equals("yes"))
else if (typedCommand.Equals("no"))
Console.WriteLine("No, stop please end my suffering, I don't want this");
Console.WriteLine("So Will you kill a resident? Yes or No");
typedCommand = Console.ReadLine();
public void murderYayHowFun()
if (currentDecision.consequencesArray[1] != 0)
Console.WriteLine("How moral of you. Murder, what a great decision to make.");
currentDecision = allDecisions[currentDecision.consequencesArray[0]];
Console.WriteLine(currentDecision.edTitle);
Console.WriteLine(currentDecision.edIntro);
Console.WriteLine("you must make a decision");
if (currentDecision.consequencesArray[1] != 0)
Console.WriteLine("Risking all of their lives on chance. You're a great leader.");
currentDecision = allDecisions[currentDecision.consequencesArray[1]];
Console.WriteLine(currentDecision.edTitle);
Console.WriteLine(currentDecision.edIntro);
Console.WriteLine("Don't dodge the question.");
typedCommand = Console.ReadLine();
typedCommand = typedCommand.ToLower();
checkCommand(typedCommand);
if (typedCommand.Equals("yes"))
if (currentDecision.consequencesArray[1] != 0)
Console.WriteLine("child murder or just regular? kill the smol child?");
typedCommand = Console.ReadLine();
if (typedCommand.Equals("yes"))
Console.WriteLine("You have decided to kill a child for the sake of survival.");
currentDecision = allDecisions[currentDecision.consequencesArray[0]];
Console.WriteLine(currentDecision.edTitle);
Console.WriteLine(currentDecision.edIntro);
else if (typedCommand.Equals("no"))
Console.WriteLine("You've decided to attempt to kill the only man here trained in combat. Okay.");
currentDecision = allDecisions[currentDecision.consequencesArray[1]];
Console.WriteLine(currentDecision.edTitle);
Console.WriteLine(currentDecision.edIntro);
Console.WriteLine("you must make a decision");
else if (typedCommand.Equals("no"))
if (currentDecision.consequencesArray[1] != 0)
Console.WriteLine("You've decided to attempt to kill the only man here trained in combat. Okay.");
currentDecision = allDecisions[currentDecision.consequencesArray[1]];
Console.WriteLine(currentDecision.edTitle);
Console.WriteLine(currentDecision.edIntro);
Console.WriteLine("Don't dodge the question.");
Console.WriteLine("You've not commanded somthing I understand");
public class ethicalDecisions
public int[] consequencesArray;
public ethicalDecisions(int _ID, string _RName, string _rIntro, int[] _setupArray)
consequencesArray = _setupArray;