Code Monkey home page Code Monkey logo

Comments (4)

hantoine avatar hantoine commented on August 27, 2024

I think the Gamecontroller Method might be better in a GameModel class, but this could be done after the build 1.

from risk-game.

hantoine avatar hantoine commented on August 27, 2024

Actually I'm not sure anymore lol. The teacher answered to my question that if the controller updates the view then it is not MVC, but on the slide 7 of MVC slides:
"the controller may also be responsible for updating the view"

from risk-game.

hantoine avatar hantoine commented on August 27, 2024

So I came to the teacher to ask a more precise question, he said that wether this can be considered as MVC or not is subject to debate, some people might say yes, others might say no. He also said he will not remove marks about that.

So in the end I dont think we need to make this for the build1, we could do it in the build2 since we will have to implement the observer pattern anyway.

from risk-game.

hantoine avatar hantoine commented on August 27, 2024

Done by hantoine. To be merged

from risk-game.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.