
/**
 * The main class that instantiates the model view and controller used
 * in the game.
 * 
 * @author Matthew Levandowski (levandma@mail.gvsu.edu)
 * @version Mar 9, 2010
 */
public class NumbrixMain {

    /**
     * Create the model, view, and controller. They are created once
     * here and passed to the parts that need them so there is only
     * one copy of each.
     *
     * @param args
     */
    public static void main(String[] args) {

        NumbrixModel model = new NumbrixModel();
        NumbrixView view = new NumbrixView(model);
        NumbrixController controller = new NumbrixController(model,
                view);
        model.addObserver(view);
        view.setVisible(true);
    }
}
