Git Product home page Git Product logo

oleksiyrudenko / a-tiny-js-world Goto Github PK

View Code? Open in Web Editor NEW
68.0 3.0 236.0 4.05 MB

A tiny task for those who isn't familiar with OOP and JS OOP in particular yet

Home Page: http://OleksiyRudenko.github.io/a-tiny-JS-world/

License: MIT License

HTML 56.25% CSS 9.24% JavaScript 34.51%
javascript oop-principles oop beginner-friendly self-learning learning-by-doing learning-exercise learning-javascript

a-tiny-js-world's People

Contributors

7sergsmith7 avatar aldegid avatar alexnugda avatar alinaladybug avatar anatolii-petrenko avatar andrewklmn avatar ania-leichenko avatar annagrynchuk avatar annastoyano avatar ant-c-tech avatar antonkottans avatar anzhelikavelychko avatar chernetskyi8704 avatar cuteshaun avatar dafen173 avatar evgeniy241984 avatar ilmpi avatar iva-stasia avatar ivan-chukhalo avatar linkqwd avatar m-ruslan avatar mitchffirstgit avatar mustbefail avatar nataliia-kholodkova avatar oleksiyrudenko avatar sofiichuk avatar taniabondarenko avatar unabyband avatar ustymchyk avatar yulyasystem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

a-tiny-js-world's Issues

Add levels

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

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/

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 (?)

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 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?

Fix link

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

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.