Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 public Klient(GomokuServerRoom _room, ConsoleGUI _gui)
 {
     room  = _room;
     gui   = _gui;
     board = new _field[B_SIZE_Y * B_SIZE_X];
 }