allow the enemy ship to move
refactoring, added some comments