Esempio n. 1
0
        static void Main(string[] args)
        {
            // creating custom bomberman's Ai client
            var bomber = new MyCustomBombermanAI("ApiDotNet");

            // starting thread with playing bomberman
            (new Thread(bomber.Play)).Start();

            // waiting for "anykey"
            Console.ReadKey();

            // on "anykey" - asking bomberman's Ai client to stop.
            bomber.InitiateExit();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            // creating custom bomberman's Ai client
            var bomber = new MyCustomBombermanAI("ApiDotNet");

            // starting thread with playing bomberman
            (new Thread(bomber.Play)).Start();

            // waiting for "anykey"
            Console.ReadKey();

            // on "anykey" - asking bomberman's Ai client to stop.
            bomber.InitiateExit();
        }