/// <summary> /// This is a constructor for the view, calling controller's startGame() to deal cards /// </summary> public UnoView() { model = new UnoModel(); controller = new UnoController(model); controller.StartGame(); errorMessage = ""; }
/// <summary> /// A constructor for the controller, which takes a model to store /// </summary> /// <param name="model">The model to store and do all operations on</param> public UnoController(UnoModel model) { this.model = model; currentPlayer = 0; isReverse = false; isGameOver = false; }