Factored some repetitious code out.

Stijn: should it ignore the distance check for the center shooting "bound"?
Just to be sure
Merge branch 'master' into shooting
Merge branch 'shooting' of github.com:pkok/Domination-Game into shooting