This question already has an answer here:
The games Flappy Bird and Swing Copters, both created by Dong Ngyuyen, have very similar play mechanics. Both require the player to navigate a character through gaps in walls, and require very little else, scoring mainly by how far the player can go before an inevitable crash as the player character automatically scrolls through the game.
Other games have similar game mechanics: Jetpack Joyride is a similar game, and other short ios and flash games follow a similar style of play - seeing how long a player can persevere in a level that automatically scrolls.
What is the name or genre for this type of wall-avoiding game that seems so prolific in short ios/flash games like these?