Giter Site home page Giter Site logo

cs360scrum's Introduction

cs360Scrum-

MVC Architecture:

  1. Model : a. Serves as base/foundation b. Worked on by view/controller c. Stores data retreived according to commands from comtroller and displayed in view
  2. View : a. Updation b. GUI Setup c. Generates new output to user based on changes in the model
  3. Controller : a. Gameplay b. other controls c. Will contain instances of model and view d. Can send commands to and update the model; also sends commands to its associated view to change the view's presentation of the model.

General Process to be followed in the program :

  1. User will see a splash screen
  2. User will select option for game type
  3. User will see a UI generated with all components -> Part of View
  4. User will start the game
  5. User will select a location to place the tile on the board :
    1. Control will call for updation
      1. First place current tile in the location
      2. Need to obtain surrounding tiles as neighbours -> Check useful ones and filter them (usefulNeigbours are those which have a value; Hint: usefulNeighbours might be disabled by default!)
      3. Check for successful placement :
      4. If successful placement :
        1. Update Tiles :
          1. Change to empty values
          2. Update the GUI -> Call to view
        2. Update Points :
          1. Check and update bonus points if required. Else updates general points
        3. Update moves if gametype is limited moves game
      5. If unsuccessful placement :
        1. Make sure placed tile updates with the value
        2. Update moves if required by gametype

cs360scrum's People

Contributors

ramananeesh avatar celethor avatar ruizmf01 avatar

Forkers

celethor ruizmf01

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.