add ship out of bounds detection