I'm supposed to develop a Java game using AWT and Applet libraries. I'm stuck with the concept of "collision detection". If you can help me with any tutorials that explain the concept (how it works) or give examples (source code), I'd be grateful.
closed as not constructive by Nicol Bolas, Sam Hocevar, Byte56♦, Sean Middleditch, Noctrine♦ Feb 2 '13 at 21:23
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
It depends on what you're trying to do, but I'll just keep it simple.
This tutorial explains basic forms of collision detection. They're formatted for AS3, but the concepts behind them can be used for any language.