---
title: "Flappy Bird · Pipe Flight"
description: "Flappy Bird on a centered 400x640 canvas. Tap, Space or touch to flap through pipe gaps; one point per pair. Hitting a pipe, ground or ceiling ends the run and shows the final score."
lang: en
category: games
canonical: https://hue3.com/en/games/flappy-bird
date: 2026-11-07
---

## How to play

1. The page opens on a start screen that says "Tap to start · or press Space". Click the canvas or press Space to begin; the bird takes one flap immediately.
2. Every click, Space press or touch gives the bird one upward impulse. Do nothing and gravity pulls it down.
3. Clearing a pipe pair earns one point, shown at the top of the canvas in real time. Press `R` to restart at any moment.

The rhythm is simple: tap to gain a little height, then keep the bird off the ground and away from the pipes and the ceiling.

## Rules

- The logical canvas is **400 by 640**, centered on the page. It scales proportionally on smaller windows and stays crisp on high-DPI screens.
- The bird's collision box is a 26 by 26 rectangle at a fixed horizontal position. Pipes are 64 pixels wide with a **fixed 160-pixel gap**; the gap center is random but always leaves room above and below.
- Pipes are 215 pixels apart and move left at 140 px/s, with the ground stripes scrolling at the same speed.
- Collision uses axis-aligned rectangles (AABB) against the upper pipe, lower pipe, ground and ceiling. Any hit ends the run.
- Physics is time-based (delta time inside `requestAnimationFrame`), so the feel is consistent across refresh rates; the delta is capped at 50 ms after a background tab resumes to stop the bird tunneling through a pipe.

## Browser only

Everything is drawn with geometry: a gradient sky, clouds filled in a single path, polygon hills, pipes with highlights and flared caps, scrolling ground stripes, and a bird that tilts and flaps its wing. No image assets, no account, no saved state and no uploads — the score stays in memory on this page.
