Visualizing connections between 2 players

Small project I made that shows how any two players are connected to each other.

It looks through the friends, friends-of-friends, and so on for both players to find a chain that links them together. It’s pretty cool to see how random players end up being connected in just a few steps.

The search might take a bit depending on how big the player’s friend lists are. Usually shouldn’t take longer then a few minutes.

Also a fun way to check how close you are to a famous developer or youtuber lol

Game link:

51 Likes

Incredible game! The concept is fun, it works properly, and all the UI feels very satisfying to use.

4 Likes

Heck yeah I’ll check it man it looks cool

5 Likes

This is SO cool! I found out that I’m only 5 friends away from Jandel. Really nice, satisfying to use, and a very interesting concept! Keep it up.

4 Likes

this is a good idea I had never would of thought of and now I know I am 7 friends from preston.

4 Likes

its honestly pretty cool! but i do have some issues

  1. you should be able to make searches cancellable. i did a search from this account to my old account GravityCoil822 and it’s taken a while, so i thought of cancelling it. sadly, you can’t cancel any searches unless you leave

  1. maybe add some decorations to the ui

besides that, amazing job!!

4 Likes

Unfortunately, this has already been done :(
Friendscape [:artist_palette: Color Variants] - Roblox
I personally think this is far better than GUI. It already exists, but perhaps you could continue and take inspiration from this game. The only problem with Friendscape (the game I mentioned) is that unless you favourite it, it’s hard to find again. I know this seems very trivial, but it is a recurring problem (I believe two times so far). It’s hard to find because while the name is creative, it’s hard to find through the search (i.e. searching “Connections”, “Connections From”, “Connections Finder”, “Friends Finder”, etc.). This is a problem that your game solves, so that’s one thing better than Friendscape.

5 Likes

Thank you for all of the support :slight_smile:
I added some of the suggestions and improved some stuff.

Some of the new features:

  • Added a cancel button when searching for a connection
  • Added a time elapsed counter to the search and final screen
  • The search shows usernames of some of the users its currently scanning (Couldn’t show them all because it would result in too much lag)

4 Likes

Thank you for the idea, I added the cancel button.
I also ran the search you couldn’t finish, haven’t seen this many players scanned before lol

Heres the result:

3 Likes

Im curious, how does it reduce it’s search space? I mean if someone is 5 friends away and each friend has 1000 friends, that’s 1000^5 or a quadrillion searches.

2 Likes

It searches from both sides, the starting player and the target and tries to meet in the middle.

4 Likes

Ive seen games similar but I think this has the simplest and easiest to use UI out of them all

my only complaint is that the algorithm used to find the nearest friend could be improved. Ive had it happen twice now where it could have found a closer connection (say 2 friends away, not 3) but it would still chose the higher gap

If I were you id reach out to a few shorts creators or tiktokers to get a few videos made on it, this type of game would do great in short form content

3 Likes

Thanks :slight_smile:
And yeah, the algorithm can still be improved. I’ll try fixing that soon.

Thats actually a good idea. I still want to add some more stuff and I’ll try that out.

2 Likes

Added another cool feature to the game :slight_smile:
You can view the most searched players now! Also a quick button to search for them yourself!

Let me know what else should be added!

4 Likes

Looks good so far. You should consider adding an option to continue searching for other paths, which is something that I believe other games (like Friendscape) lack.

1 Like

Sounds interesting. Like searching for another connection between someone from the chain and a different user? So kind of just like another search but with some extra data from the previous one already?

1 Like

I’m connected to haz3mn and uh, idk how to explain without just showing
Far_2D>Shayph>DeeterPlays>ItsRusso>ItsMuneeb>haz3mn
all of those guys are famous lol

1 Like

I should offer more clarification. I meant that it should continue searching for other paths to the same person if the user chooses to do so. For instance, consider this result that shows my connection path with alexnewtron.

If it kept searching for other paths linking us together, it could’ve also found this link and probably some others:

3 Likes

Ah i understand now. Im still working on improving the algorithm,
I might add the option to continue searching for other paths soon. Will probably add an advanced settings tab for stuff like that. Adding a setting to exclude certain users from the search might also be cool feature.

2 Likes

Just published another update :fire:

Im still trying to improve the algorithm, I’ll probably add a setting to keep searching for the actual shortest path to the target. It will take a bit longer to finish, but will be more accurate. (The search would have to be deeper)

Right now it looks for any connection it can make with the target and displays the first result. That makes the searches quite faster, while still being pretty accurate most of the time.

Anyways, here’s what i added:

  • You can exclude users from appearing in the search with the new advanced settings tab! This lets you find a lot of different paths to the same target, some may even be shorter!

  • Added the roblox verified checkmarks. Not much but they look pretty cool.


Let me know what else i should add :slight_smile:

3 Likes