static void Main(string[] args) { var field = new Game2(1, 2, 3, 0, 4, 5, 6, 7, 8); var A = new ConsoleGameUI(field); A.Write(); A.Moves(); }
static void Main(string[] args) { var fifteen = new Game3(0, 1, 2, 3, 4, 5, 6, 7, 8); var Interface = new ConsoleGameUI(fifteen); Interface.Print(); Interface.Move(); Interface.Move(); Interface.Move(); Interface.Move(); Interface.Move(); }