8000 GitHub - robin2005/minesweeper_swiftui: An open-source Minesweeper app designed for relaxation, with a clean, minimalist interface. Built with SwiftUI for an intuitive experience, this app brings puzzle-solving and calming gameplay together in a smooth, responsive design.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

An open-source Minesweeper app designed for relaxation, with a clean, minimalist interface. Built with SwiftUI for an intuitive experience, this app brings puzzle-solving and calming gameplay together in a smooth, responsive design.

Notifications You must be signed in to change notification settings

robin2005/minesweeper_swiftui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI MineSweeper Game

A full-featured Minesweeper game built with SwiftUI, offering multiple difficulty levels and an engaging, user-friendly design. This app brings the classic puzzle game to life, complete with flagging mode, hints, and a confetti celebration for successful completions!

Preview

Sudoku Game Preview

Features

  • Three Difficulty Levels: Choose from Easy, Medium, and Hard to match your puzzle-solving skills.
  • Interactive Minesweeper Grid: Tap to reveal tiles, flag potential mines, and navigate the game intuitively.
  • Game Center Integration: Track your scores on the leaderboard and compete with others to achieve the fastest times.
  • Confetti Celebration: Enjoy a vibrant confetti animation when you successfully clear a board!
  • Flagging Mode and Hints: Switch to flagging mode to mark potential mines or use hints to guide your next move.
  • Restart and New Game Options: Start over or dive into a new game at any time for endless fun.

Getting Started

  1. Clone the Repository:
     git clone https://github.com/jaredcassoutt/minesweeper_swiftui.git
    
  2. Open the Project in Xcode:
    • Open Minesweeper.xcodeproj in Xcode.
    • Make sure you†5E26 ™re running Xcode 12 or later.
  3. Run the App:
    • Build and run on the simulator or an actual device.
    • Select a difficulty level and start solving puzzles!

How It Works

The project is organized into several key components:

  • GameView.swift: The main game screen, displaying the Minesweeper grid and handling user interactions.
  • GameViewModel.swift: The engine that generates new puzzles with unique solutions, adjustable by difficulty.
  • GameCenterHelper.swift: Manages Game Center authentication and leaderboard score submissions.
  • ConfettiView.swift: Displays a celebratory confetti animation when a puzzle is completed.

Future Enhancements

  • Daily Challenges: Add a daily board for players to compete on a global leaderboard.
  • Sound Effects and Animations: Add subtle sound effects and more animations to enhance the user experience.

Contributing

Feel free to fork the project, submit issues, or suggest improvements. Feedback and ideas for new features are welcome!

License

This project is open-source under the MIT License.

Thanks for checking out my SwiftUI Minesweeper game! Dive into the code, solve some puzzles, and see if you can beat your own high scores.

About

An open-source Minesweeper app designed for relaxation, with a clean, minimalist interface. Built with SwiftUI for an intuitive experience, this app brings puzzle-solving and calming gameplay together in a smooth, responsive design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%
0