Giter VIP home page Giter VIP logo

15_easntkscaor's Introduction

##Unit 15 Assessement

Fork and clone this repo, and submit a pull request when you're done.

###Intermediate JavaScript (and a bit of AJAX)

Answer the conceptual questions on this short Google Form to the best of your ability.

###Debug A Game

I have invented the most mind-numbing game imaginable. You just click on squares to get points. Accordingly, a casino in Las Vegas is interested in buying the app from me but the have some security and design concerns. A player who knows the code base could cause all sorts of mischief messing around in the console. Refactor the app to solve the following problems:

  1. As much of the functionality as possible needs to be out of the global namespace. For instance, a player should not be able to call addRowToClickZone() to add more space to the board.
  2. There should be no calls to the model from the view.
  3. There should be no DOM manipulation in the model. (Don't add a call to the view instead!)
  4. Find somewhere secure to store the canonical score. (If a player edits the #score span in the console, it should reset on their next click.)
  5. If you complete 1 to 4, implement a version of the game where the board size iterates up by 1 after every 100 points.

15_easntkscaor's People

Contributors

dsberger avatar

Watchers

 avatar  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.