Professional Documents
Culture Documents
S.HaiderAli Assignment 2 SRE
S.HaiderAli Assignment 2 SRE
Specification
For
Flappy Bird
Version 1.1 approved
Prepared by
<organization>
Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Software Requirements Specification for <Project> Page ii
Table of Contents
Table of Contents .......................................................................................................................... ii
Revision History ............................................................................................................................ ii
1. Introduction ..............................................................................................................................1
1.1 Purpose............................................................................................................................................. 1
1.2 Document Conventions .................................................................................................................... 1
1.3 Intended Audience and Reading Suggestions .................................................................................. 1
1.4 Product Scope .................................................................................................................................. 1
1.5 References ........................................................................................................................................ 1
2. Overall Description ..................................................................................................................2
2.1 Product Perspective.......................................................................................................................... 2
2.2 Product Functions ............................................................................................................................ 2
2.3 User Classes and Characteristics ..................................................................................................... 2
2.4 Operating Environment .................................................................................................................... 3
2.5 Design and Implementation Constraints .......................................................................................... 3
2.6 User Documentation ........................................................................................................................ 4
2.7 Assumptions and Dependencies ...................................................................................................... 5
3. External Interface Requirements .........................................................................................11
3.1 User Interfaces ............................................................................................................................... 11
3.2 Hardware Interfaces ....................................................................................................................... 12
3.3 Software Interfaces ........................................................................................................................ 12
3.4 Communications Interfaces ............................................................Error! Bookmark not defined.
4. System Features .....................................................................................................................12
4.1 System Feature 1 .............................................................................Error! Bookmark not defined.
4.2 System Feature 2 (and so on) ..........................................................Error! Bookmark not defined.
5. Other Nonfunctional Requirements .....................................................................................14
5.1 Performance Requirements ............................................................................................................ 14
5.2 Safety Requirements ...................................................................................................................... 14
5.3 Security Requirements ................................................................................................................... 14
5.4 Software Quality Attributes ........................................................................................................... 14
5.5 Business Rules ............................................................................................................................... 15
6. Other Requirements ..............................................................................................................15
Appendix A: Glossary..................................................................................................................15
Appendix B: Analysis Models .....................................................................................................15
Appendix C: To Be Determined List ..........................................................................................15
Revision History
Name Date Reason For Changes Version
Flappy Bird 29th of Additional information 1.0
march,
2022
Software Requirements Specification for <Project> Page 1
1. Introduction
1.1 Purpose
The purpose of this SRS document is to an overview of an android game “FLAPPY BIRD” along
with the mechanics, user interface and story of the game. The SRS document details all the
features, reference to the manner and importance of their implementation.
1.4 The SRS document also provides the inspectors and project managers with a way to ensure
game adherence to the original vision. Although the document may be read from front to back to
fully understand the project, it was written in sections and therefore could not be read as such. For
more information on the document and the project itself, see General Description (Section 2)
1.6 References
https://en.wikipedia.org/wiki/Flappy_Bird
Software Requirements Specification for <Project> Page 2
2. Overall Description
2.1 Product Perspective
Its implementation was made possible by the Unity Game Engine and its ability to integrate and
create projects to be used on an Android mobile device.
With smartphones these days full of games therefore, one of our goals when designing a game is
to allow the user to understand the gameplay at the beginning of the game and not to silence how
often and unlock the game, we achieve this by showing the guide screen at the beginning of the
game. , which is why we always engage the user with the game. We tried to avoid creating a story
especially because users (especially when it comes to small smartphone games) find it rather
annoying rather than our game model focusing on earning points by reaching a level of difficulty.
GRAVITY ROTATION:
The main mechanic of the game is to allow the player to change the way he looks.
JUMPING:
Also a necessary movement mechanic, allowing sudden movements to control the bird.
TITLE SCREEN:
The first viewable screen upon starting up the application, containing buttons for play game,
options.
2.5.1 Design:
This section contains the requirements for compiling and creating a game software architecture.
The phase will be reviewed several times during the implementation phase.
2.5.2 Implementation:
This section contains the repetitive process of creating a game. The whole structure should be
used, and then the actual code will be written, as well as tests and complete documentation.
This section is about the risks in this project. They are separated into two pans, general risks and
specific risks.
Internal Conflicts:
Conflicts between team members are possible, and even more so as we will be working
closely together for a long time. It is therefore important to communicate openly, and to
address problems early on before they become too numerous to be addressed. If this is not
enough one can always seek the help of management, or in the worst case - disband the
team.
Android Difficulties:
Android development is something we are not aware of when we spend a lot of time gaining
insight into the framework, development will take longer than expected and some parts of
the project will suffer. We can prevent this by properly planning and giving us enough time
to understand Android, as well as starting development early.
Bad Prototyping:
Surveys and tests tell us that the concept of model is bad. This is a risk that we may not be
able to design a satisfactory platform, which could have a significant impact on the project.
One way to reduce the likelihood that this will happen is to consult a teacher to confirm the
Software Requirements Specification for <Project> Page 4
learning aspect of the concept. The impact can be reduced by conducting a survey that will
provide us with useful information even if prototype design is bad.
BATTERY:
Low battery life on smartphones is a well-known problem, especially when GPS is enabled
or the touch screen is widely used. This may interfere with the display of our model, in the
event that any of the phones are running out of battery. We need to plan with battery usage
in mind, that is, use GPS as little as possible.
UNCLEAR TASKS:
When you create job descriptions, you run the risk of performing obscure tasks. This can
lead to frustration for participants and they may get stuck. This can be avoided by
examining the activities and making sure that they are clear and unambiguous. If that does
not work, participants can always contact the exhibition manager and get clarification.
Stay in the middle of the pipes. This is the main objective of the game. If you hit a pipe or
the ground, the game ends
Software Requirements Specification for <Project> Page 5
Use-Case Modeling
ID: UC 1
Actor:
Player
Pre-Condition:
When you press a button the app should stop the use of the gameplay screen
Tie the instruction screen is full, it should disappear with a single tap
Secondly Scenario
The user exits the app by pressing the back or home button of the Android device.
Post-Condition
The game should start
Software Requirements Specification for <Project> Page 7
ID: UC 2
Actor:
Player
Pre-Condition:
When the pause button is pressed the exit button appears, or when user hunches the
application
Upon pressing the exit button the application should kill all the objects and the bodies and
it should end the game
ID: UC 3
Actor:
Player
Pre-Condition:
When you press the select nixie button the application should take the user to a select
location
ID: UC 5
Actor:
Player
Pre-Condition:
Secondly Scenario
User logs out of the app by pressing the home or back button of the Android device.
Post-Condition
The game becomes easier
Software Requirements Specification for <Project> Page 9
ID: UC 5
Actor:
Player
Pre-Condition:
Secondly Scenario
User logs out of the app by pressing the home or back button of the Android device.
Post-Condition
Games becomes difficult to play
ID: UC 6
Actor:
Player
Pre-Condition:
When you press the button to change the bird, the user is brought to the screen where he
can select different situations for the bird.
Secondly Scenario
User logs out of the app by pressing the home or back button of the Android device.
Post-Condition
User ends up in the selection menu
Software Requirements Specification for <Project> Page 10
ID: UC 7
Actor:
Player
Pre-Condition:
Upon pressing the red color button, the game character's color is changed to the red in the
gameplay
Secondly Scenario
User logs out of the app by pressing the home or back button of the Android device.
Post-Condition
The color of the bird is now red
ID: UC 8
Actor:
Player
Pre-Condition:
Upon pressing the yellow color button, the game character's color is changed to the yellow
in the gameplay
Secondly Scenario
User logs out of the app by pressing the home or back button of the Android device.
Post-Condition
The color of the bird is now yellow
Software Requirements Specification for <Project> Page 11
ID: UC 9
Actor:
Player
Pre-Condition:
When you press back or swipe, the user is returned to the main screen
Secondly Scenario
User logs out of the app by pressing the home or back button of the Android device.
Post-Condition
User saw list of points or high score
The user interface mainly consist of a drawing area on which game renders the different dynamic
elements of the game. Static elements can be defined within the layout of our main activity. The
Software Requirements Specification for <Project> Page 12
Flappy Bird background is the static element that we will define within an Image View taking the
entire screen. The dynamic part will be drawn as the game evolves within.
4. System Features
4.1 Gravity Rotation:
4.1.1 Description and Priority
This mechanic gives the player complete control over the level of the level in the relationship
with the character. Rotating gravity replaces the main movement controls (left and
right) by allowing the player to tilt upwards to slide and "fall" at different speeds and
directions.
4.1.2 Stimulus/Response Sequences
Step 1: The player slides his finger up / down the scroll bar on the right or left of the screen.
Step 2: The level rotates the opposing clock intelligently / clockwise next to the character in
real time with limited speed and the actual distance scratched by the player.
4.1.3 Functional Requirements
REQ-1: Scroll bar should constantly update the player's current finger position to allow for
real-time re-gravity reset.
REQ-2: The impact of the scroll bar in the rotation fog is measured so that the player can
deceive the level with accuracy
REQ-3: Different spatial inclusions should affect the vector velocity.
REQ4: Levels should be built to take advantage of the effects of this game machine
Software Requirements Specification for <Project> Page 13
4.2 JUMPING:
4.1.1 Description and Priority
As it is the second input of the player, the jump keeps the value of the game in the second
highest. This mechanic allows the player to move around in spaces without having to
master the force of gravity.
4.1.2 Stimulus/Response Sequences
Step 1: The player taps on the screen in order to jump.
Step 2: The character jumps with unchanging power.
4.1.3 Functional Requirements
REQ-1: Because the touch screen is sensitive to pressure, the jump force Trust should be
uniform.
REQ-2: Levels should be converted to this standard jump
REQ-3: Jumping should take into account current vertical and horizontal speed and local
inclination.
REQ4: Jump power should be large enough that the mechanic is made useless but not so
large that rotating gravity can easily replace the effect
and able to use the command presented in that level and all the instructions presented in previous
levels.
6. Other Requirements
There are not any other specific requirements. And name Flappy Bird is patent.
Appendix A: Glossary
<Define all the terms necessary to properly interpret the SRS, including acronyms and
abbreviations. You may wish to build a separate glossary that spans multiple projects or the entire
organization, and just include terms specific to a single project in each SRS.>