Exemple #1
0
 public GameSolver(FrontEndInterface frontEnd, WordDict wordDict, Board boardConfig)
 {
     mFrontEnd = frontEnd;
     mWordDict = wordDict;
     mBoardLetters = CharInfo.ConvertBoardToCharInfoArr(boardConfig.BoardLetters);
     mAvailableLetters = boardConfig.AvailableLetters;
 }
Exemple #2
0
        public MainForm()
        {
            InitializeComponent();
            mAvailableLettersTxt.MaxLength = GameVals.AVAILABLE_LETTER_MAX;
            mAvailableLettersTxt.TextChanged += new EventHandler(OnGameBoardTextChanged);

            mSolutionsListView.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(SolutionsListViewOnItemSelectionChanged);

            mWordDict = new WordDict("res/wwfDict.txt");

            SetupGameBoard();
        }