java game collision code
hello , i'm a computer science student and we have a machine project on making a java game. Well , our game is mostly a mixed bomberman-finalfantasy tactics type of 2d game. However , i couldnt seem to figure out the algorithm behind the object collision/interaction (for example , how will the character attack a box or another character) i used an x,y coordinate system and any help is gladly appreciated.

