bdfinlayson / textula

Text-based adventure game engine played in the terminal and written in Ruby.
MIT License
3 stars 0 forks source link

all validation code should be in the models #3

Closed bdfinlayson closed 9 years ago

bdfinlayson commented 9 years ago

Router (./textula): decides which controller is responsible for processing the input Controllers (e.g. RoomsController): take user input and pass it on the model layer Model: responsible for modeling the problem domain (i.e. implements business rules (e.g. input can't be blank or make duplicates)); the model also interacts with some kind of data store(e.g sqlite, apis, files, etc)

bdfinlayson commented 9 years ago

done