I am trying to implement a simple game "Bulls and cows" in c#. It is a final project of my university course about design patterns. The target of the game is simple - try to guess the opponent number.
I try to follow the MVC and dependency injection patterns. My problem is that I don't know what part of my program should be responsible for network connection. Is this a part of controller work?
I think that the best way is to create a new instance of network controller as server for my game. And then user choose UI to use (console or window). So, network controller must observe user's UI to update game model state.