Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rogymd/tcaminesweeper
Minesweeper game in Swift UI using the Composable Architecture
https://github.com/rogymd/tcaminesweeper
composable-architecture game minesweeper swift swiftui
Last synced: 4 days ago
JSON representation
Minesweeper game in Swift UI using the Composable Architecture
- Host: GitHub
- URL: https://github.com/rogymd/tcaminesweeper
- Owner: RogyMD
- License: other
- Created: 2021-03-21T20:41:41.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-09T15:30:19.000Z (about 2 months ago)
- Last Synced: 2025-01-15T13:52:51.489Z (11 days ago)
- Topics: composable-architecture, game, minesweeper, swift, swiftui
- Language: Swift
- Homepage:
- Size: 1010 KB
- Stars: 126
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![App Icon](Assets/README/app_icon.png)
[](https://apps.apple.com/app/minesweeper-v1-0/id6738613938)## Minesweeper
This project is a copy of the Windows game Minesweeper.
## About
Minesweeper is an iOS & Mac Catalyst application built entirely in Swift. The logic is build in the [Composable Architecture](https://github.com/pointfreeco/swift-composable-architecture) and the UI is built in SwiftUI.
The project shows following use cases:
* Highly modularized: every feature is isolated into its own module with minimal dependencies between them, allowing us to compile and run features in isolation without building the entire application.
* Fully controlled side effects. Every feature is provided with all the dependencies it needs to do its work, which makes testing very easy.
* The core logic of the application is put into modules named like *Core, and they are kept separate from modules containing UI, which is what allows us to share code across multiple platforms (SwiftUI and UIKit), but could also allow us to share code across iOS, macOS, watchOS and tvOS apps.
* Comprehensive test suite for every feature, including integration tests of many features working in unison, and end-to-end testing of side effects.## Screenshots
| Game | High Scores | Settings |
|---|---|---|
| | | || Mac Catalyst |
|---|
|![macOS](Assets/README/mac_os.png)|## License
The source code in this repository may be run and altered for education purposes only and not for commercial purposes. For more information [see LICENSE](https://raw.githubusercontent.com/RogyMD/TCAminesweeper/master/LICENSE).