Skip to content

Cloning of Flappy Bird game using Flutter (Bloc State Management Library).

License

Notifications You must be signed in to change notification settings

Abdulrhman-Khaled/Flappy-Bird-Game

Repository files navigation

Flappy Bird Game

It's a Cloning of Flappy Bird game using Flutter (Bloc State Management Library) with Egyptian touch.

applogo2

Game Idea

The game is based on an equation linking gravity, volacity and time, the equation can be analyzed as follows:

image

Everything depends on gravity as well as jumping. As we can see in the graph, there is a relationship between height(y) and time(t), and that represents a jump, but of course with an external influence, which is gravity(g), taking into account the mass of the body(m).

This make:

y '' = -m.g

let's say m = 1 g or kg so we have:

y '' = -g by integration according to time we get:

y ' = -gt + v as v is the constant of integration is the volacity

by integrate agin we get:

y = -gt²/2 + vt

and we all know that g = 9.8 that make:

y = -4.9>t² + vt

and this make our equation:

y(height of the jumb) = -g(4.9 gravity/2) * t(time) * t(time) + v(volacity is the strong of the jumb) * t(time)

Screens and Video of the game

Splash screen

ab56496c-886d-4caf-a2ce-7e508877d91a

Game Play

2fd1b0c5-0f0b-4078-acdc-aeed8870cc84 322c1054-6833-4a16-bb90-759f9d42846a

Video of Game

WhatsApp.Video.2022-09-05.at.6.21.32.PM.mp4

GIFs

bird gameover

Download Game

You can try the game by download the apk from Here

License

MIT License

Copyright (c) 2022 Abdulrhman Khaled Hassan Zaki

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Languages