Skip to content
/ minesweepers Public template

Minesweepers implemented using Compose Multiplatform for Android, iOS and Desktop.

License

Notifications You must be signed in to change notification settings

CRamsan/minesweepers

Minesweeper in Compose Multiplatform

License Contributor Covenant

This is a Minesweepers implementation written using Kotlin Multiplatform and Compose Multiplatform for Android, Desktop and iOS(experimental).

Target Status
Android Build Android
Debian Build Debian
iOS Build iOS
Mac Build Mac
Windows Build Windows

This project was started by using the following resources as reference:

Android Desktop iOS

Android

To run on Android, use the androidApp run configuration in Android Studio or use Gradle:

./gradlew installDebug - install Android application on an Android device (on a real device or on an emulator)

Desktop(Debian/Mac/Windows)

This template contains desktopApp run configuration that you can use to run the desktop target in Android Studio or IntelliJ IDEA.

Useful Gradle tasks:

  • ./gradlew run - run application
  • ./gradlew package - package native distribution into build/compose/binaries

iOS

Make sure you have set up your environment for mobile development with Kotlin Multiplatform. A detailed guide on how to set up your environment is available in the Kotlin Multiplatform documentation.

To work with the iOS target you need:

Before opening the project in Android Studio, make sure that your environment is set up for iOS and Kotlin Multiplatform development. Use kdoctor to ensure your development environment is configured correctly.

Running on an iOS simulator

Once you have configured your environment correctly, you will be able to select which iOS simulator to run your application in Android Studio on by modifying the iosApp run configuration.

Select "Run" | "Edit Configurations..." and navigate to the "iOS Application" | "iosApp" run configuration. In the "Execution target" drop-down, select your target device.

Running on a real iOS device

For instructions please refer to the JetBrains instructions in the template repo.

About

Minesweepers implemented using Compose Multiplatform for Android, iOS and Desktop.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •