Skip to content

Minesweeper Game App #86

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 6 commits into
base: main
Choose a base branch
from
Open

Conversation

meAnkit18
Copy link
Contributor

Description:

This PR adds a Minesweeper Game App, a classic logic-based puzzle game where players uncover tiles while avoiding hidden mines. The game features a grid-based layout, real-time mine detection, and a win/loss condition.

  • IWOC2025 Participant
  • Contributor

Closes: #81

Changes Added:

Implemented game grid generation with adjustable difficulty.
Added random mine placement and number hints for nearby mines.
Developed tile-revealing logic and safe area expansion.
Included game over & victory detection with alerts.
Created a restart function to reset the game.
Designed a clean UI with animations for smooth gameplay.

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 Has This Been Tested?

Clone the repository and switch to this branch.
Run the game using index.html (or the required script).
Click on tiles to reveal numbers or mines.
Right-click (or long-press) to flag potential mines.
Ensure the game properly detects win/loss scenarios.

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 (72)

Video:

2025-02-10.17-34-39.mp4

@meAnkit18 meAnkit18 removed their assignment Feb 11, 2025
@meAnkit18 meAnkit18 marked this pull request as draft February 11, 2025 12:04
@meAnkit18 meAnkit18 marked this pull request as ready for review February 11, 2025 14:21
@prathimacode-hub
Copy link
Owner

Remove the "Flappy Bird Game" files from this PR. Include "Screenshots" folder with images and video of the workability application to get it reviewed. @meAnkit18

@prathimacode-hub prathimacode-hub changed the title Added Minesweeper Game App Minesweeper Game App Feb 16, 2025
@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.

Minesweeper Game App
2 participants