Skip to content

fourier-space/Computing-2-Submission-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published