Skip to content

PiciAkk/The-Friendship-Algorithm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Friendship Algorithm in JavaScript

Original:

I'm a big fan of The Big Bang Theory and I couldn't resist playing around with Sheldon's friendship algorithm. It's pretty much one object represented as Sheldon guided by the module pattern (thanks to Addy Osmani).

Fork:

Hello! I'm PiciAkk, and I'm a big fan of The Big Bang Theory. One day I was reminded of Sheldon's friendship algorithm, and I looked at Google for images of the algorithm. After some search I found this repository, and I tought I could develop this code a little bit. Then I started to make it NodeJS-compatible. When I made it NodeJS-compatible, I started to update the code base. First, I added Sheldon's interests.

Usage

Install the dependencies using npm install , and start the app using npm start

Try out online using REPL.it

Online demo

Flowchart

Image of the algorithm

Watch Video Clip

The Big Bang Theory: Season 2, Episode 13