I want to make tower defence game for WP7.5, where you must draw symbol of tower which you want to build. So the idea is when user has drawn something, I check if it matches with my towers symbols.
Symbol looks like this:
User drawn something like this:
But now, I don't know how to effectively compare if user's image matches my symbol image. First idea is to match pixel per pixel and if all black pixels of user's image match every black pixel of my symbol to return true, but I think that isn't best way to make it.
Can somebody help me with this solution?
EDIT: Now I get another idea - I save coordinates where user touches on display and then I check in symbol image only pixels on coordinates which I saved. It looks better than compare it pixel per pixel, yeah? :)