Giter Club home page Giter Club logo

tierlist-maker-clone's Introduction

A basic tierlist-maker "clone" with vanilla JS and pure HTML/CSS. No frameworks.

And lots of Naruto characters.

About:

Have you ever tried to ACTUALLY understand how does a doubly linked list works?

Surely there are plenty of good resources out there with accurate information (or you might already have a grasp of how it works), but how about learning INTERACTIVELY ?

google search

(It's funny what Google understands by "interactive" or "fun"... a whiteboard video explanation) ๐Ÿ™„

Ok, there MIGHT be out there a couple decent resources with code examples you can click, press play, pause, rewind... but let's be honest, are any of those actually FUN ?

Of course not. But don't give up just yet!

Now you will have EXACTLY that... and with Naruto characters!! ๐Ÿฅท ๐Ÿƒ ๐Ÿฅ

shinobis united

Now, shameless self promotion and bad jokes aside, this is a very simple project that tries to clone how a tierlist works. It gives a nice visual of how a doubly linked list structure can be applied to a real example and understand its internal working. (Open your browser's console, you are in for a ride)

Some (amusing) context:

When I started this project, I was convinced that I needed a doubly linked list DS in addition to all the javascript code I needed to simulate a tierlist's behaviour, being that part the first I developed with the corresponding tests. I also wanted to work with good ol' vanilla javascript and try learn a couple new tricks along the process.

However, the HTML Drag and Drop API provides all thats needed to create a fully functional tierlist, rendering all my previous code useless. (I will google stuff first... Lesson learnt ๐Ÿฅฒ).

So... to avoid throwing all that beautifully handcrafted code, I thought giving the project a more "educational" focus.

Note: This project merely attempts to illustrate a concept that you should already be familiar with. I hardly believe you can learn in depth the inner workings of this DS by just playing around (to actually learn more, take a look at how the DS is structured, look the tests too). Use the app to reinforce that existing knowledge (or better, to classify shinobis).

Demo:

  • A DoublyLinkedList is created for every tier with which you can interact with from the your browser's console (Try typing its name).
  • All operations will be seen on the console, and a brief description of each tier components will be shown as operations occur.
  • That's it. Go play!

demo

Additional info:

API used: https://naruto-api.herokuapp.com/api/v1/characters (Credits: https://github.com/Gustavonobreza/naruto-api) ๐Ÿ™Œ

Interested in DS and algorithms ? Check the awesome work of trekhleb.

Tests were made with Mocha (Chai).

MIT license

Disclaimer: Project is intended to be used for educational/recreational purposes exclusively. Fork the repo and change it accordingly to meet your needs if otherwise.

tierlist-maker-clone's People

Contributors

mmiglioranza22 avatar

Stargazers

Roman avatar

Watchers

 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.