Skip to content

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