Skip to content

Update Minesweeper. #124

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 1 commit into
base: master
Choose a base branch
from
Open

Update Minesweeper. #124

wants to merge 1 commit into from

Conversation

T0nyN1
Copy link

@T0nyN1 T0nyN1 commented May 17, 2025

Update 1

feat(minesweeper): add customizable grid size and bomb count

  • Introduce parameters to allow users to set the grid size and number of bombs
  • Update the initialization logic to dynamically adjust the game grid based on user input
  • Modify the drawing function to reflect the new grid size
  • Update documentation to include instructions for customizing the game settings

This change enhances the game's adaptability for different skill levels and preferences.

Update 2

feat(minesweeper): add grid lines and color display for numbers

  • Implement grid lines between cells to improve visual clarity
  • Introduce a color display system for different numbers based on adjacent bombs
    • 0: white
    • 1: blue
    • 2: green
    • 3: red
    • 4: purple
    • 5: maroon
    • 6: turquoise
    • 7: black
    • 8: gray
  • Update the drawing logic to apply colors dynamically
  • Add bilingual inline comments to explain the new features

This change enhances the user interface and makes the game more intuitive and visually appealing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant