Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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:
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:
Screenshots
Video:
2025-02-10.17-34-39.mp4