In the past I modeled this like a graph, i.e. for each node define which other nodes can be accessed. A matrix of nodes is then your board. If you can’t access one node from the other there is a wall between them. I used it for simulating walking through a labyrinth.
board 0 1 2 3 4 5 6 7 8 0 -> 3 1 -> 4 2 -> 5 3 -> 0 3 -> 4 3 -> 6 etc.
In my experience the implementation of the board is influenced by what you want to do with it, i.e. the complexity of the game. Often you want some efficient internal representation. The presentation would be another layer.
HTH
In reply to Re: gaming board design
by dHarry
in thread gaming board design
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |