INFORMATION TECHNOLOGY
PAPER CODE 802
PROJECT FILE
PRESDIDIUM SCHOOL
CLASS XII
SESSION 2022-2023
FLAPPY BIRD
SUBMITTED BY:
Ananya Burra______________________________
CBSE ROLL NO.
_________________________________________
ACKNOWLEDGEMENT
I take this opportunity to acknowledge everyone who has helped me in
every stage of this project. Firstly, I am indebtedly grateful to our IT teacher
Mrs. Namita Shrivastava for her support and valuable guidance. Without
her support this project would not have been completed. I wish to thank
my parents as well for their undivided support and interest who inspired
me and encouraged me to go my own way, without whom I would be
unable to complete my project. At the end, I want to thank my friends who
displayed appreciation to my work and motivated me to continue my work.
Sincerely,
Ananya Burra
XII A
FLAPPY BIRD
Synopsis
Introduction
Flappy Bird is an endless game that involves a bird that the player can
control. The player must save the bird from colliding with the hurdles like
pipes. Each time the bird passes through the pipes, the score gets
incremented by one. The game ends when the bird collides with the
pipes.
Flappy Bird was originally developed as a mobile game by Vietnamese
Game artist and programmer Dong Nguyen, under his game company
“Gears”. The game was released in May of 2013 but received a sudden
spike in popularity in early 2014 and became a “sleeper hit”. A sleeper hit
is any entertainment product (video game/movie/television series) that is
unsuccessful on release but becomes successful later.
Flappy Bird received mixed reviews, varying from extremely poor ones
due to the game’s difficulty, to “addictive”. By the end of January 2014, it
was one of the most downloaded free applications on the app store and
play store. During this period, the Developers said that Flappy Bird was
earning up to $50,000 per day from in-app advertisements as well as
sales.
Why Java?
Java is easy to write and easy to run—this is the foundational strength of
Java and why many developers program in it. When you write Java once,
you can run it almost anywhere at any time.
Java can be used to create complete applications that can run on a single
computer or be distributed across servers and clients in a network.
As a result, you can use it to easily build mobile applications or run on
desktop applications that use different operating systems and servers,
such as Linux or Windows.
Use of AWT
AWT or Abstract Window Toolkit is an API used in Java to create a
Graphical User Interface (GUI) objects, such as buttons, scroll bars and
windows. In this program, AWT has been used to create the GUI for the
game “Flappy Bird”, the bird and the pipes.
In the application, I have worked with many codes. Some of them are as
follows:
Action Listener
The listener interface for receiving action events. The class that is
interested in processing an action event implements this interface, and
the object created with that class is registered with a component, using
the component's addActionListener method. When the action event
occurs, that object's actionPerformed method is invoked.
Mouse listener
Mouse Listener interface is a part of the java.awt.event package. It is
used to track mouse movements and mouse drags. The MouseListener is
notified whenever the state of the mouse is changed. It is notified against
MouseEvent.
Key Listener
Key Listener interface is also a part of the java.awt.event package. It is
used to track any actions regarding the keyboard. A method will be called
whenever the user types, presses, or releases a key on the keyboard. It is
notified against KeyEvent.
Purpose
Flappy Bird, like most games, is for entertainment purposes. It is an
arcade-style game in which the player controls the bird, which moves
persistently to the right. The player is tasked with navigating the bird
through pairs of pipes that have equally sized gaps placed at random
heights.
How I got this concept
Flappy Bird was the most popular game in 2014. Having said that, it was
my childhood favourite too. So, this is an attempt by me to try to make a
game with a similar concept.
Hardware Requirements
Processor 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz 2.69 GHz
Installed RAM 24.0 GB (23.7 GB usable)
System type 64-bit operating system, x64-based processor
Software Requirements
Windows 11
NetBeans Java IDE version 8.2
Java Development Kit 8
Development Tools and Technologies
Front End – Java
Bibliography
NCERT Database Management Applications Student Handbook, Class-XII
https://www.geeksforgeeks.org
https://www.w3schools.com
https://www.wired.com