Just like the Flappy Bird (but in reverse), I think. I never actually played the original game. Hit the Space bar to dive. The ground is kinda glitchy, sometimes it won't show.
Class project, sprites from an image search and edited in the sprite editor. Music from Pixabay: Aquarium Fish by Magiksolo Circus Music Loop by Sonican