collision detection for paddle (pong/breaking block game)
问题 I'm new to javascript, and trying to learn the collision detection for the paddle. This might be simple, but I don't know how to create collision detector of the paddle I created. How do this work and what do I have to put in order to create collision detection? (I don't need know about bricks, I just have to create simple animated/game javascript page.) Oh and do you know what kind of javascript am I using? because sometimes it is totally different coding so it's really hard to find my type