vendredi 16 décembre 2016

What is the Best Design Pattern for Board Games?

We are going to develop a board game similar to chess using Model-View-Controller architecture. The broad is implemented with a 2D Array.

What is generally the better approach regarding the relationship between each player and his figures? Is it better that each player knows what figures he has or each figure knows to which player it belongs to? Or are there better solutions which we have not thought about?

We are somehow bounded to use MVC model but I also would like to know

Which architecture best suits for such problems (board games)?

enter image description here

enter image description here

Aucun commentaire:

Enregistrer un commentaire