Ask coding questions

← Back to all posts
For some reason collisions between circles of the same color don't work properly.
ChipSlayer (0)

When the circles are falling, the goal is to catch whatever circle matches the color of your circle. However, some circles appear to change colors as they fall even though they aren't supposed to change colors. They don't change what color they are, but simply appear as another color. I can't figure out why. Please help.

Comments
hotnewtop
Coder100 (19277)

Have you tried console.log both sides properties?

ChipSlayer (0)

@Coder100 no. I don't really understand how to use the console.log stuff. Or even read what's logged afterwards. I know how to open developer tools, but I never really understood the whole console thing in general.

QuickV (197)

The console is already open in replit... It's basic javascript lol. Just to console.log(whatyouwanttoconsonle); @ChipSlayer :)

Coder100 (19277)

@ChipSlayer

  1. console.log logs to the developer terminal. That's literally it.

So, ctrl + shift + i and watch the console log away.

ChipSlayer (0)

@QuickV ok. But what I need to know is what to look for in the console.

QuickV (197)

coder 100 specified that :) @ChipSlayer