So many one-bullet games, but can't recall to have seen this switch between invulnerability and attack. That idea may be expanded upon and turned into an interesting game (based on risk vs reward).
Check our game! https://cerosware.itch.io/one-stick-shooter