DEV Community

Adam Crockett 🌀
Adam Crockett 🌀

Posted on

The best bug ever

This is not mine, I give credit to 'Pezzza's work' YouTube channel.

This came up on my feed and I was thinking this is going to be a bit dull, nope!

Top comments (6)

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I was blown away but I guess it was something like

balls.dist <= other.balls.dist
Instead of

balls.dist => other.balls.dist

Lol scientific

Collapse
 
manju4ever profile image
Manjunath Desappa

ROFL. But there's truth in your comment.

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

Indeed this is the famous balls dist algorithm 😂

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Can you think of real world applications for things that should not collide with other things 🚘

Collapse
 
abhinav1217 profile image
Abhinav Kulshreshtha

Can you think of real world applications for things that should not collide with other things 🚘

I am learning game development, So here is a thought.

A platform puzzle escape room type game, where character needs to navigate through the room without being killed by boulders, and these dots are boulders.
But like that video said in the end, it is not something I could code intentionally.

🤔

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Maybe one day 😊 even trying will teach you something