static void Main(string[] args) { IGomokuServerRoom room; IGUI gui; gui = new ConsoleGUI(); room = new GomokuServerRoom(); Klient klient = new Klient((GomokuServerRoom)room, (ConsoleGUI)gui); klient.Play(); Console.WriteLine("Game finished, press anything to continue"); Console.ReadKey(); }
public Klient(GomokuServerRoom _room, ConsoleGUI _gui) { room = _room; gui = _gui; board = new _field[B_SIZE_Y * B_SIZE_X]; }