https://github.com/arkivanov/Minesweeper
Minesweeper game implemented in Kotlin and Compose Multiplatform
https://github.com/arkivanov/Minesweeper
Last synced: 22 days ago
JSON representation
Minesweeper game implemented in Kotlin and Compose Multiplatform
- Host: GitHub
- URL: https://github.com/arkivanov/Minesweeper
- Owner: arkivanov
- License: apache-2.0
- Created: 2024-02-04T22:19:48.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-30T14:03:49.000Z (11 months ago)
- Last Synced: 2025-04-12T02:22:24.505Z (23 days ago)
- Language: Kotlin
- Homepage: https://arkivanov.github.io/Minesweeper/
- Size: 28.1 MB
- Stars: 80
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - arkivanov/Minesweeper - Minesweeper game implemented in Kotlin and Compose Multiplatform (Kotlin)
README
# Minesweeper Game
This is an implementation of the [Minesweeper](https://en.wikipedia.org/wiki/Minesweeper_(video_game)) game in Kotlin and Compose Multiplatform.
Tech stack:
- Kotlin
- [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform) - declarative UI
- [Decompose](https://github.com/arkivanov/Decompose) - navigation and lifecycle
- [MVIKotlin](https://github.com/arkivanov/MVIKotlin) - state management
- [kotlinx-serialization](https://github.com/Kotlin/kotlinx.serialization) - state saving and restorationSupported targets: Desktop (JVM) and Wasm Browser.
Running desktop app: `./gradlew :composeApp:run`
Wasm browser app: https://arkivanov.github.io/Minesweeper
Controls:
- Left mouse button - dig a cell
- Right mouse button - flag a cell
- Middle mouse button (or both left and right buttons simultaneously) - dig all unflagged adjacent cellsKnown issues:
- The browser app recognizes all mouse buttons as left.
- The cursor is not working in settings text fields in the browser app.
- Cells may be misclicked in the browser app on mobile devices.Screenshots:
