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!

Oldest comments (7)

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

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 ๐Ÿ˜‚

๐ŸŒš Friends don't let friends browse without dark mode.

Sorry, it's true.