Understandable on the random front - I think the key part missing if you are to develop this a bit further is to have a "tell" for when the attack is going to happen. The first boss doesn't matter so much, but the second one for sure needs something.