dotnet-experiments/multiplayer-game/Program.cs

14 lines
382 B
C#

class Program
{
static void Main(string[] args)
{
bool isHost = args.Contains("--host");
// bool isHost = true;
// var game = new MultiPlayerGame(isHost);
// game.Run();
var p = new Publisher(isHost ? InteractorKind.Server : InteractorKind.Client);
p.Dump();
Console.WriteLine("Hello World!");
}
}