Basically Pico Bullet Bill game.
It was a flash game which came out long before Flappy Bird:
Thanks for the reference. I didn’t know Bullet Bill.