Files
Morris/Morris/Program.cs
2016-08-28 10:57:40 +02:00

26 lines
461 B
C#

using System;
using System.Windows;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Morris
{
class Program
{
[STAThread]
static void Main(string[] args)
{
var a = new ConsoleInteraction();
var b = new RandomBot();
var w = new GameWindow();
var g = new Game(a, b);
g.AddObserver(a);
g.AddObserver(w);
Task.Run(() => g.Run(0));
new Application().Run(w);
}
}
}