working out the enemy ship movement