Beispiel #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();
        }
Beispiel #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();
        }