What would be the best way to display & program simple game board (say chess, checkers and such) in C#? In terms of controls and underlying game logic.
An idea that came to my mind was to use Picture Box (or class inheriting from it) with Board & Field classes.
- Is that a decent solution after all?
- How would I separate graphics from game logic using this solution (I believe Board & Field classes may not be enough)?
- Is PictureBox efficient enough for such purpose?
Googling some also brought me to solutions using button/label for each game field. But back to Board, Field and PictureBox.
Extendability - designing it properly would easily allow to implement any other board game (or even card game) as it's all about board with modifiable fields after all.