Flappy Bird Controller: Decide When to Jump

Asked at Coinbase · Coding Questions · Difficulty: Medium · Last asked May 19, 2026

A simple Flappy-Bird-style game is played by a controller that sees the state of the game once per frame and chooses whether to jump. Implement the controller so that the bird clears every pipe in a level without hitting a pipe, the ceiling or the floor.

Loading the problem…