Skip to content

Latest commit

 

History

History

flappy-bird

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🐥 Flappy Bird

Cover image of the game

A clone of the popular Flappy Bird game. Made with Typescript and Pixi.js

TypeScript Cloudflare Pixi.JS

🕹️ Play  ·  🔑 License

🎮 Controls

The game responds to multiple types of input. You only control the bird, and you can do so by:

  • Clicking the Left mouse button on devices with a mouse.
  • Pressing the Space key on devices with a keyboard.
  • Tapping on the screen on touch devices.

Once you start the game (first interaction), the pipes will start moving, and the bird will start falling. You must keep the bird flying and avoid the pipes to get the highest score possible. The game will end when the bird collides with the ground or a pipe. Once the game ends, you will be presented with the game over screen and two buttons.

Pressing the OK button will return you to the main menu, where you can start a new game. Pressing the Share button will allow you to share your score on Twitter. Depending on the score you got, you'll earn a medal according to the following criteria:

  • Bronze: Scored between 10 and 20 points.
  • Silver: Scored between 20 and 30 points.
  • Gold: Scored between 30 and 40 points.
  • Platinum: Scored more than 40 points.

🛠️ Installation

The game is played directly from the browser, so you don't need to install anything to play it. However its prepared to be installed as a PWA (Progressive Web App) on your device. When you visit the game's URL, you will be prompted to install the game on your device. If you accept, the game will be "installed" on your device, and you will be able to play it offline.

On mobile devices that prompt doesn't trigger automatically (I think), you can manually install the game by following these steps:

  1. Open the game's URL in your browser.
  2. Click on the browser's menu button (three dots) to open the browser's menu.
  3. Look for an option that says something like "Install app" or "Add to home screen" and click on it.