Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New game]: Flappy Bird Game #4607

Open
1 task done
codewithishu opened this issue Jun 18, 2024 · 4 comments
Open
1 task done

[New game]: Flappy Bird Game #4607

codewithishu opened this issue Jun 18, 2024 · 4 comments
Assignees
Labels
gssoc GSSoC24 program label level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue

Comments

@codewithishu
Copy link
Contributor

🎮 Game Request

Game logic and basic description

Flappy Bird is a simple, yet highly addictive side-scrolling game. The player controls a bird, attempting to fly between columns of green pipes without hitting them. The game ends if the bird collides with a pipe or the ground. Points are scored based on the number of pipes the bird successfully passes.

Game Elements
Bird: The main character controlled by the player.
Pipes: Obstacles that the bird must navigate through.
Ground: The surface at the bottom of the screen which, if collided with, ends the game.
Background: A simple static or slowly scrolling background to create a sense of movement.
Game Mechanics
Gravity: Constantly pulls the bird downwards.
Flap: When the player taps the screen (or presses a key), the bird flaps its wings, causing it to rise.
Collision Detection: Determines if the bird has hit a pipe or the ground.
Score: Increases when the bird successfully passes between pipes.
Game Logic
The game can be broken down into several key components and steps:

Initialization:

Set up the game window.
Load images and sounds.
Initialize variables for the bird’s position, velocity, and the positions of pipes.
Game Loop:

Update the bird’s position based on gravity and user input.
Move pipes towards the bird and check for collisions.
Update the score when the bird passes through pipes.
Redraw the game window with updated positions and check for game over conditions.

Point down the features

Game points

Scoring System
Passing Pipes:

The primary way to earn points is by successfully passing through the gap between pairs of pipes.
Each time the bird successfully navigates between a pair of pipes without colliding, the score increments by one point.
Score Display:

The current score is typically displayed at the top of the screen during gameplay.
After the game ends, the player's score is prominently displayed, often along with the best (high) score the player has achieved in previous sessions.
Point Events:

Points are awarded only when the bird completely passes a pipe (i.e., the pipe moves past the bird's x-coordinate).
This ensures that the player gets a point for navigating through the gap rather than simply approaching it.

Select program in which you are contributing

GSSoC24

Code of Conduct

@kunjgit kunjgit added level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue labels Jun 18, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jun 18, 2024

Hey @codewithishu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️

@kunjgit kunjgit added the gssoc GSSoC24 program label label Jun 18, 2024
@codewithishu
Copy link
Contributor Author

/assign

@codewithishu
Copy link
Contributor Author

/assign

@kunjgit
Copy link
Owner

kunjgit commented Jun 18, 2024

Hey @codewithishu ! , This issue is already assigned to @codewithishu. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹️👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GSSoC24 program label level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue
Projects
None yet
Development

No branches or pull requests

2 participants