Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper - Jetpack Compose

A modern Minesweeper game built using Jetpack Compose, featuring an intuitive UI, dynamic backgrounds, and immersive gameplay.

Features

🎮 Classic Minesweeper Gameplay – Tap to reveal, long press to flag mines.

🎨 Dynamic Background Changes – Visual updates based on game state (win/lose).

🔔 Toasts Notifications – Informative pop-ups for game events.

🎵 Background Music – Adds an immersive experience.

🛠 Jetpack Compose UI – Modern and responsive design.

💣 3 levels of difficulty: Easy, Medium, Hard

  • Easy: 8 Mines over 9x9 Grid.

  • Medium: 16 Mines over 9x9 Grid.

  • Hard: 24 Mines over 9x9 Grid.

Screenshots

Screenshot_20250309_161611 Screenshot_20250309_161627 Screenshot_20250309_161742

Installation

Clone the repository:

git clone https://github.com/yourusername/minesweeper-compose.git

Open the project in Android Studio.

Connect a device or use an emulator.

Click Run ▶ to build and launch the app.

How to Play

  1. Select a difficulty level and hit "Confirm Selection" to apply the difficult level.

  2. Tap on a tile to reveal it.

  3. Switch to "Flag Mode" by pressing the button "Check Mode" and press that button again to switch back to "Check Mode."

  4. In "Flag Mode," tap on a tile to flag it and tap again to unflag.

  5. Win by flagging all mines or lose if you tap on a mine.

Technologies Used

Jetpack Compose – Declarative UI framework

Kotlin – Primary programming language

Material 3 – UI components and styling

Contributing

Feel free to submit pull requests or report issues in the repository.

Enjoy playing Minesweeper! 💣🎉

About

A modern Minesweeper game built using Jetpack Compose, featuring a dynamic UI and engaging gameplay.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages