using Gon; module Go { public static Main (args : array [string]) : void { System.Console.WriteLine ("gon v 0.1"); mutable size = 13; mutable bg = "gfx/"; when (args.Length >= 1) { size = System.Int32.Parse(args[0]); when (size > 21 || size < 5) size = 13; } when (args.Length >= 2) bg = args[1]; _ = GtkGame(size, GtkPlayer("foo", Color.Black), GnuGoPlayer(size, Color.White), bg); } }