Skip to content

Flappy Block Game #85

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Flappy Block Game #85

wants to merge 5 commits into from

Conversation

meAnkit18
Copy link
Contributor

Description:

This PR adds a Flappy Block Game, a fun and interactive game where players control a block that must navigate through obstacles. The game mechanics are inspired by Flappy Bird, featuring simple physics-based movement and collision detection.

  • IWOC2025 Participant
  • Contributor

Closes: #69

Changes Added:

Implemented game logic with jumping mechanics.
Added collision detection to track when the block hits obstacles.
Designed a score system that increases as the player progresses.
Included game restart functionality after a game-over event.
Created a minimalistic UI with smooth animations.

Type of change

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How to Test:

Clone the repository and switch to this branch.
Run the game using index.html (or the necessary script).
Use the spacebar (or tap/click) to make the block jump.
Avoid obstacles and try to score as high as possible.
Verify that the game restarts properly after a collision.

Checklist:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Screenshots

Screenshot (69)

Video:

2025-02-09.14-02-31.mp4

@prathimacode-hub
Copy link
Owner

Add "Screenshots" folder with images and video of the workability application to get reviewed. @meAnkit18

@prathimacode-hub prathimacode-hub changed the title Added Flappy Block Game Flappy Block Game Feb 16, 2025
Copy link
Owner

@prathimacode-hub prathimacode-hub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep your project title as "Flappy Block Game". Also add image screenshots and video to show the workability of the application. @meAnkit18

@prathimacode-hub prathimacode-hub added the Easy This label is assigned for submitting the easy peasy PR label Feb 16, 2025
@prathimacode-hub
Copy link
Owner

What happened? @meAnkit18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy This label is assigned for submitting the easy peasy PR IWOC2025
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flappy Block Game
2 participants