dungeoneer-cs/Program.cs
2024-03-31 01:25:32 -04:00

28 lines
674 B
C#

using System;
namespace Dungeoneer {
public sealed class Program {
public delegate void Command(IList<string> args);
public static Dictionary<string, Command> ReplCommands = new Dictionary<string, Command> {
{ "new", (Command)Dungeoneer.Command.New },
{ "roll", (Command)Dungeoneer.Command.Roll }
// TODO: "with"?
};
public static Dictionary<string, Command> RollMacros = new Dictionary<string, Command> {
// TODO: disadvantage ( roll twice and take lowest )
// TODO: pool ( any of NdX > D => success )
};
public static void Main() {
Console.WriteLine("Starting");
Scripting.Run("repl.py");
}
}
}