public AskQuestionException(List<RunInstructions.StackTracer> stackTrace, SpokeQuestion question, GameBoard gameBoard)
 {
     myStackTrace = stackTrace;
     myQuestion = question;
     myGameBoard = gameBoard;
 }
        private GameBoard buildBoard(SpokeObject spokeObject)
        {
            GameBoard gb = new GameBoard();

            var mainArea = getVariableByName(spokeObject, "mainArea");
            var userAreas = getVariableByName(spokeObject, "userAreas");

            gb.MainArea = buildArea(mainArea, getVariableByName(spokeObject, "piles"));
            gb.UserAreas = new List<TableArea>();
            foreach (var area in userAreas.ArrayItems)
            {
                gb.UserAreas.Add(buildArea(area, getVariableByName(spokeObject, "piles")));

            }

            return gb;
        }