mardi 30 juin 2020

which design pattern should be used for alternating turn purpose?

For a simple board game, saying that there are two players and there is a turn() method to alternate turns, which design pattern is appropriate to be used for this condition?

Aucun commentaire:

Enregistrer un commentaire