Sorry but it´s none of those two.
Your machine was moving just from left to right and shooting up (like galaxian). almost at the end of the game, there was a big head. moving randomly, and you have to shoot it to a "cell" it had in the head. After a while, if you wouldn´t destroy it it would...