static void Main(string[] args) { var hostname = Settings.Default.Hostname; var port = Settings.Default.Port; var username = Settings.Default.Username; var password = Settings.Default.Password; var logLevel = Settings.Default.Loglevel; var p = new Game<CommandLineUI>(hostname, port, username, password, logLevel); Console.OutputEncoding = Encoding.UTF8; Console.InputEncoding = Encoding.UTF8; p.Start(); }
static void Main(string[] args) { var p = new Game<CommandLineUI>("username", "password"); p.Start(); }