-
Notifications
You must be signed in to change notification settings - Fork 445
Expand file tree
/
Copy pathProgram.cs
More file actions
44 lines (42 loc) · 1.25 KB
/
Program.cs
File metadata and controls
44 lines (42 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
public class Program
{
public static void Main(string[] args)
{
var adventure = args?.FirstOrDefault()?.ToLower();
if (string.IsNullOrWhiteSpace(adventure))
{
Console.WriteLine("Please specify which logic to run: Sample names include: algora, chamberofechoes, eldoria, lumoria, mythos, mythos-test, stonevale, tempora.");
adventure = Console.ReadLine();
}
switch (adventure)
{
case "algora":
Algora.Run();
break;
case "chamberofechoes":
ChamberOfEchoes.Run();
break;
case "eldoria":
Eldoria.Run();
break;
case "lumoria":
Lumoria.Run();
break;
case "mythos":
Mythos.Run();
break;
case "mythos-test":
GridlockTestRunner.Run();
break;
case "stonevale":
StoneVale.Run();
break;
case "tempora":
Tempora.Run();
break;
default:
Console.WriteLine($"Unknown option: {adventure}");
break;
}
}
}