I have been assigned a task for a university course. I would ask the tutor such questions normally but in the UK we are suffering a bit of bad weather and I can't get in. It's also a new course so i'm unsure who to email. However, my problem.....
We have been asked to code a game, which I have done. I don't know what it's called but you have a grid of symbols (in this case coins four tall, four wide). When you click one coin, it is flipped along with those to the top, bottom, left and right. If anyone of familiar with the electronic toy "Lights out" from a few years back, its like that. The game ends when all the coins have been reversed
I am now required to code an undo function, detection of completion, the ability to chose "challenges" via a web service and keep record of all the previous moves. I can figure all this out. However it says to follow "MVC" closely? I searched for this and the only thing which fits in this case is "Model-View-Controller" which I have no experience with
Has anyone got any hints how to follow such guidelines with such a small project?
Many thanks in advance.
We have been asked to code a game, which I have done. I don't know what it's called but you have a grid of symbols (in this case coins four tall, four wide). When you click one coin, it is flipped along with those to the top, bottom, left and right. If anyone of familiar with the electronic toy "Lights out" from a few years back, its like that. The game ends when all the coins have been reversed
I am now required to code an undo function, detection of completion, the ability to chose "challenges" via a web service and keep record of all the previous moves. I can figure all this out. However it says to follow "MVC" closely? I searched for this and the only thing which fits in this case is "Model-View-Controller" which I have no experience with
Has anyone got any hints how to follow such guidelines with such a small project?
Many thanks in advance.