Skip to content

MolchanovDmitry/SnakeKmp

Repository files navigation

Kotlin multiplatform Snake



Snake from childhood for the following platforms:

Wear OS

You can get the apk by running the following github action.

Or build apk manually by running command below:

./gradlew :wear:assembleRelease

The output file will be located in the following directory wear/build/outputs/apk/release/.

Web

Adjust the field size and press Start!:

You can get the artefacts by running the following github action.

Or run game manually by running command below:

./gradlew :web:jsBrowserRun

Desktop

  1. Adjust window size.
  2. Adjust chain size by +/- buttons.
  3. Press Start game.

Run game manually by running command below:

./gradlew :desktop:run

Ios

  1. Adjust chain size by +/- buttons.
  2. Press Start game.

Run game manually by running command below:

./gradlew iosDeployIPhone13Debug

Intellij idea plugin

  1. Run ./gradlew ideaplugin:runIde command.
  2. In the opened window select or create project.
  3. Select Tools -> Snake

License

Copyright 2022 Dmitry Molchanov

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.