From: Erik V. <eri...@xs...> - 2010-09-02 18:46:25
|
Turn-based boardgames are effectively state machines. I'm not sure I can think of a model object that should be stateless. Certain parts of the view (in an MVC world) can and should be stateless, but the model *is* the state of the application (read: game). [EV] Of course there is always some form of state behind a model, but often it is not a single state. For instance, the views that give you a list of available trains, or the player worth, or a share percentage, have models that depend on some calculated value, which is not an independent state itself. Erik. |