コード例 #1
0
ファイル: Program.cs プロジェクト: martinosk/egokata
        private static AnsweredQuestion AnswerQuestion(Turn turn)
        {
            Console.WriteLine($"{turn.ActivePlayer} please select your answer...");
            var selection = int.Parse(Console.ReadLine());
            var answer    = turn.AnswerQuestion(turn.CurrentQuestion.Options.FromId(selection));

            return(answer);
        }