Software design pattern
Three parts:
Model
keeps the data (internal representations of information)View
is what users see (GUI) and receives input from the userController
connects the twoThe model is independent of the user-interface
The controller converts user input to commands for the model or view
Think back to the implementation of Tic-Tac-Toe.
Which methods belong in each part (Model, View, Controller)?
Download starter code for the Tic-Tac-Toe application – this will have mainly the viewer implemented. Your job is to finish implementing the model and the controller.