dungeoneer-cs/Program.cs

29 lines
674 B
C#
Raw Normal View History

2024-03-28 21:42:10 -04:00
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> {
2024-03-31 01:25:32 -04:00
{ "new", (Command)Dungeoneer.Command.New },
{ "roll", (Command)Dungeoneer.Command.Roll }
2024-03-31 01:25:32 -04:00
// 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 )
};
2024-03-28 21:42:10 -04:00
public static void Main() {
Console.WriteLine("Starting");
Scripting.Run("repl.py");
2024-03-28 21:42:10 -04:00
}
}
}