hitiksaini / flames

Let your computer tell you the flames now, you did this enough in your childhood

Home Page:https://hitiksaini.github.io/flames/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flames Calculator 🤩😍

FlamesGame is a relationship calculating algorithm famous between the youngsters. At the time of graduation everyone might heard about this and many of them tried out this secretly. Some took this as very serious also. So what FLAMES stance for?

F - Friendship

L - Love

A - Affection

M - Marriage

E - Enemy

S - Sister (Sibling)

How we can calculate the FLAMES?

It is very easy to explain with some example: Your name: asd Partner name: abcd

Mainly two steps are there:

Get the flames count Take the two names ('asd' and 'abcd') Remove the common characters (two common characters 'a', 'd') Get the count of the characters that are left (Removed a,d and the rest are s,b,c. So total 3.) Get the flames result We take FLAMES letters ('F', 'L', 'A', 'M', 'E', 'S') And start removing letters using the flames count we got. And the letter which last the process is the result. In our example we got flames count = 3. So first we takes FLAMES. FLAMES Then we start count from left up to flames count 3. Then remove the letter which is in the position 3. In this case it is 'A'. So the letters become: FLMES Then we start count again from the letter which is removed ie, from 'M'. So the next character to remove is 'S'. So our letters become: FLME After next step: FLE Then: FE Last: F So the result is 'Friend'.

you can create pull rq. for a better version😉

About

Let your computer tell you the flames now, you did this enough in your childhood

https://hitiksaini.github.io/flames/


Languages

Language:JavaScript 61.6%Language:HTML 25.1%Language:CSS 13.4%