Giter VIP home page Giter VIP logo

resplan's Introduction

Computing 2 Coursework Submission.

CID: [YOUR CID]

This is the submission template for your Computing 2 Applications coursework submission.

Checklist

Install dependencies locally

This template relies on a a few packages from the Node Package Manager, npm. To install them run the following commands in the terminal.

npm install

These won't be uploaded to your repository because of the .gitignore. I'll run the same commands when I download your repos.

Game Module – API

You will produce an API specification, i.e. a list of function names and their signatures, for a Javascript module that represents the state of your game and the operations you can perform on it that advances the game or provides information.

  • Include a .js module file in /web-app containing the API using jsdoc.
  • Update /jsdoc.json to point to this module in .source.include (line 7)
  • Compile jsdoc using the run configuration Generate Docs
  • Check the generated docs have compiled correctly.

Game Module – Implementation

You will implement, in Javascript, the module you specified above. Such that your game can be simulated in code, e.g. in the debug console.

  • The file above should be fully implemented.

Unit Tests – Specification

For the Game module API you have produced, write a set of unit tests descriptions that specify the expected behaviour of one aspect of your API, e.g. you might pick the win condition, or how the state changes when a move is made.

  • Write unit test definitions in /web-app/tests.
  • Check the headings appear in the Testing sidebar.

Unit Tests – Implementation

Implement in code the unit tests specified above.

  • Implement the tests above.

Web Application

Produce a web application that allows a user to interface with your game module.

  • Implement in /web-app
    • index.html
    • default.css
    • main.js
    • Any other files you need to include.

Finally

  • Push to GitHub.
  • Sync the changes.
  • Check submission on GitHub website.

resplan's People

Contributors

fourier-space avatar

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.