Esempio n. 1
0
        static void Main(string[] args)
        {
            const int timeToAnswer = 30;
            IChatApi  chatClient   = new CampfireChatApiAdapter();

            GameRunner runner = new GameRunner(GetDefaultQuestionProvider(), chatClient, timeToAnswer);

            runner.Start();

            Console.ReadLine();
            runner.Stop();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            const int timeToAnswer = 30;
            IChatApi chatClient = new CampfireChatApiAdapter();

            GameRunner runner = new GameRunner(GetDefaultQuestionProvider(), chatClient, timeToAnswer);
            runner.Start();

            Console.ReadLine();
            runner.Stop();
        }