mittalpa wrote:
1. What controls can be utilized to represent a (let's say 9 x 9) matrix? I would need ability to associate each cell with an id to know its state at all times during execution.
Like the other guy said, use a Grid (or DataGrid or ListView or a custom control) and modify your view model when dealing with state.
mittalpa wrote:
2. How can I inject different visual properties to a cell of matrix?
Use properties on your view model to determine what your view displays. WPF is rich with ways of dealing with what to display, such as template selectors.
mittalpa wrote:
3. Would I need something like separate layers for base board, and tiles?
WPF allows you to layer things easily. However, you wouldn't necessarily NEED to layer... might make some things easier though.
mittalpa wrote:
4. How to go about validating a word and possible words around it?
There are word lists you can download for free. There is one from an old version of a dictionary (1916 Merriam Webster?), for example, that you could download, parse, and use when validating that the words used are valid. You could also create a web crawler to find words on the Internet... and you could allow users to enter their own words. As far as the validation logic itself, just focus on the view model rather than the view.
[Forum Guidelines]