Flappy is an arcade game for the Sugar desktop.
Flappy Birds is not part of the Sugar desktop, but can be added. Please refer to;
- How to Get Sugar on sugarlabs.org,
- How to use Sugar,
- Download Flappy using Browse, search for
Flappy
, then download, and; - Refer the 'How to play' section inside the activity
On Sugar desktop systems;
- use My Settings, Software Update, or;
- use Browse to open v4.activities.sugarlabs.org, search for
Flappy
, then download.
Flappy depends on Python, PyGTK and PyGame.
Flappy is started by Sugar.
Flappy is not packaged by Debian, Ubuntu and Fedora distributions.
On Ubuntu and Debian systems these required dependencies (gir1.2-gtk-3.0
and
python3-pygame-sdl2
) need to be manually installed.
On Fedora system these dependencies (gtk3
and python3-pygame
) need to be manually installed.
Running outside Sugar
- Install the dependencies -
On Debian and Ubuntu systems;
sudo apt install gir1.2-gtk-3.0 python3-pygame-sdl2
On Fedora systems;
sudo dnf install gtk3 python3-pygame
- Clone the repo and run-
git clone https://github.com/sugarlabs/flappy.git
cd flappy
python3 main.py
Running inside Sugar
- Activity can be run from the activity ring, you'll open terminal activity and change to the flappy activity directory
cd Activities/flappy
# Set up activity for development
python3 setup.py dev
-
Go to activity ring and search for flappy and run.
-
Activity can also be run from the terminal by running while in activity directory
sugar-activity3 .