Code Monkey home page Code Monkey logo

a-tiny-js-world's Issues

Fix link

Fix link to 'A guide to prototype-based class inheritance in JavaScript'

Add an extra shared property

... so students are forced to list props explicitly for output and avoid Object methods.

E.g.:

  • secretName for all inhabitants, non-printable,
  • lastName for all humans, non-printable,
  • apes/humans have legs and hands while other mammals would have paws

Add levels

E.g. #50 can be a next level as well as a CatWoman, friends.

Change req re friends

Current situation: friends are optional feature

Target situation:

  • friends are a mandatory feature
  • addFriends adds friends, skips duplicates
  • a next level in the task completion journey (?)

An image for the project emblem is wanted

This project needs an emblem.
Anything like the one in the bottom would fit.

Please, share your own artwork or refer to someone who could be of help. Permission to use the asset in non-commercial open source projects is required.

What the asset owner will get:

  • credits with a link to her or his web site
  • distribution of credits across forks of this project (not many yet though)

Thank you!

small world

Embedded image link source: http://www.tactus.com/blog/create-amazing-360-degree-tiny-planet-photos-videos/

Add tests

Test level 1 (literal objects)

Requires exported functions with pre-defined signatures to

  1. create general object presentation for required
  2. create presentation of props that are not required for item 1

Have at least 2 predefined objects that use different order of keys.

Require particular order of props and each prop tagged like `legs: xx; `

Test level 2 (classes)

Requires all classes exported. Uses Inhabitant, Dog, Cat, Human.

Requires properties (legs, hands, paws, name, species, breed, friends, gender -- as per pets vs humans)

Set of "silent" props is assigned randomly per student. Silents some are for humans, other for pets, and shared. Props are tested as well.

Classes are expected to have methods:

  • toString (general presentation)
  • hasTail (all classes; humans shouldn't have tail prop)
  • getBreed (only pets)
  • getFriends (returns array)

Integrity checks

Test cases and pre-defined code (except for implementation templates) should not be changed. Checksums? No commit intervening into those files?

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.