I saw a game much like this, but it learnt from what you did. So say if the ship was...A square. On the front, there was a pea-shooter and on the corners of the front, two spray-guns (why...why am I using unconventional weaponry?). So say if you were to attack round the back, it'd fortify the next boss' back some more. Or if you were hit by the spray-guns more than the pea-shooter, it'd probably replace it with the spray-gun. Impressed me.