Challenge 4: Adding a Hit Test to the Cat/Dog Project

After completing lessons 1 to 23, you are ready for your fourth challenge! Start with the completed project files from lesson 6.

Modify the code so that every time the Move button is pressed, a message is displayed under the gameWindow that says 'HIT' if the images are hitting, and says 'NO HIT' if the images are not hitting. Here is an example.


Once you have completed the challege, find a friend and play some Cube Slam.