Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnu11111/snake-compose-for-desktop
Snake Game - implemented using Compose for Desktop
https://github.com/gnu11111/snake-compose-for-desktop
compose-for-desktop game kotlin snake
Last synced: 18 days ago
JSON representation
Snake Game - implemented using Compose for Desktop
- Host: GitHub
- URL: https://github.com/gnu11111/snake-compose-for-desktop
- Owner: gnu11111
- Created: 2022-02-15T22:17:58.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-07T00:39:26.000Z (over 1 year ago)
- Last Synced: 2024-11-08T17:47:49.568Z (about 2 months ago)
- Topics: compose-for-desktop, game, kotlin, snake
- Language: Kotlin
- Homepage:
- Size: 91.8 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Snake game, built with Compose for Desktop
`snake-compose-for-desktop` is my implementation of the classic Snake game using [Compose for Desktop](https://www.jetbrains.com/lp/compose/). Run with `./gradlew run` or build and run a stand-alone jar with `./gradlew build; java -jar build/libs/snake-compose-for-desktop-executable-1.0.jar`.
Use the arrow keys to move the snake around and `Esc` to quit the game. Collect the apples (red dots) but avoid hitting your own tail!
![Screenshot of the game](snake-compose-for-desktop.png)