Snake-compose-for-desktop - Snake Game - implemented using Compose for Desktop

Overview

A Snake game, built with Compose for Desktop

snake-compose-for-desktop is my implementation of the classic Snake game using Compose for Desktop. Run with ./gradlew run.

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

You might also like...
Microsoft Fluent UI implemented in Jetpack Compose.

fluentui (WIP) Microsoft Fluent UI implemented in Jetpack Compose. Controls Some of the controls available include: ActionBarLayout AppBarLayout Avata

Jetpack Compose Boids | Flocking Insect ๐Ÿœ. bird or Fish simulation using Jetpack Compose Desktop ๐Ÿš€, using Canvas API ๐ŸŽจ
Jetpack Compose Boids | Flocking Insect ๐Ÿœ. bird or Fish simulation using Jetpack Compose Desktop ๐Ÿš€, using Canvas API ๐ŸŽจ

๐Ÿœ ๐Ÿœ ๐Ÿœ Compose flocking Ants(boids) ๐Ÿœ ๐Ÿœ ๐Ÿœ Jetpack compose Boids | Flocking Insect. bird or Fish simulation using Jetpack Compose Desktop ๐Ÿš€ , usi

๐Ÿงฑ  A tetris game fully built using Jetpack Compose
๐Ÿงฑ A tetris game fully built using Jetpack Compose

A tetris game fully built using Jetpack Compose, almost all UI elements are created by code, including the following app icon, which is also generated by Composable with @Preview.

Welcome Fruit Ninja ๐Ÿฅ  on Jetpack Compose Desktop ๐Ÿš€, using Canvas API ๐ŸŽจ
Welcome Fruit Ninja ๐Ÿฅ on Jetpack Compose Desktop ๐Ÿš€, using Canvas API ๐ŸŽจ

Compose-Fruit-Ninja ๐Ÿฅ Welcome Fruit Ninja on Jetpack Compose Desktop ๐Ÿš€ , using Canvas API ๐ŸŽจ Featured on jetc-dev How to Run From gradle tab from ri

Alien invasion ๐Ÿ‘พ gane is back! this time specially on Jetpack Compose Desktop ๐Ÿš€, using Canvas API ๐ŸŽจ
Alien invasion ๐Ÿ‘พ gane is back! this time specially on Jetpack Compose Desktop ๐Ÿš€, using Canvas API ๐ŸŽจ

Compose Space-Invaders ๐Ÿ‘พ Alien invasion ๐Ÿ‘พ is back! this time specially on Jetpack Compose Desktop ๐Ÿš€ , using Canvas API ๐ŸŽจ Featured on Compose Diges

๐ŸŽฎ An attempt to create Super Mario Bros using Compose for Desktop
๐ŸŽฎ An attempt to create Super Mario Bros using Compose for Desktop

๐ŸŽฎ compose-mario An attempt to create Super Mario Bros using Compose for Desktop ๐Ÿ—๏ธ Under Active Development THIS PROJECT IS UNDER ACTIVE DEVELOPMENT

A Slack demo app for desktop using Jetpack Compose UI toolkit
A Slack demo app for desktop using Jetpack Compose UI toolkit

ComposeSlackDesktop A Slack demo app for desktop using Jetpack Compose UI toolkit Demo Jetpack Compose Jetpack Compose is Androidโ€™s modern toolkit (no

๐Ÿ•’ A kinetic wall clock, built using Compose Desktop
๐Ÿ•’ A kinetic wall clock, built using Compose Desktop

๐Ÿ•’ klokk A kinetic wall clock, built using Compose Desktop. ๐Ÿ”ฎ Demo Watch full demo Watch Development - Behind the Scenes - Part 1 Watch Development -

Spotify Demo Desktop app using Jetpack compose
Spotify Demo Desktop app using Jetpack compose

Compose Spotify Desktop Declarative UI A Spotify demo app for desktop using Jetpack Compose UI toolkit Demo Home Search & Detail Jetpack Compose Jetpa

Comments
  • Turning on the spot resets game

    Turning on the spot resets game

    When I quickly turn around into the opposite direction, the game seems to reset. Score reverts to 0 and the length of the snake is reset to the initial length.

    Reproduce for example when the snake is moving rightwards, quickly hit "down" and "left".

    It shouldn't be possible to perform that move in the first place. I guess the game logic counts that as hitting the rest of the snake, i.e. game over and starts a new game.

    opened by sebkur 3
Owner
gnu
gnu
A simple Snake application to demonstrate the use of Compose for Desktop platform with Kotlin

Snake App using Compose for Desktop A simple Snake desktop application to demonstrate the use of Compose UI toolkit for Desktop platform with Kotlin.

Serge Nino Martin Villasica 12 Nov 18, 2022
Briar-desktop - A desktop program for Briar, bringing secure messaging to your desktop and mobile devices

Briar Desktop A desktop program for Briar, bringing secure messaging to your des

Briar Project 16 Dec 17, 2022
A desktop code editor app using Jetpack Compose for Desktop and IntelliJ Platform

Compose Code Editor A desktop code editor app using Jetpack Compose for Desktop and IntelliJ Platform. Project Structure The code is contained in the

Alex 73 Dec 19, 2022
Super Heroes Kata implemented using Jetpack Compose and Screenshot Testing.

KataSuperHeroes with Jetpack Compose We are here to learn about Jetpack Compose. We are going to use Jetpack Compose Testing Tools to interact with th

Karumi 18 Dec 15, 2022
Test-compose-for-desktop - Hello World in Compose for Desktop

Testing Run from command line: ./gradlew run Regular build: ./gradlew packageUb

Sebastian 3 Sep 20, 2022
Jetpack-compose-animations-examples - Cool animations implemented with Jetpack compose

Jetpack-compose-animations-examples This repository consists of 4 animations: St

Canopas Software 180 Jan 2, 2023
A Sudoku game for Android & Desktop written with Jetpack Compose Multiplatform

?? Compose Arcade A sample Kotlin Multiplatform Compose Sudoku app for Android & Desktop. Most code is shared between Android & Desktop using Kotlin M

Aaron Oertel 42 Dec 30, 2022
Simple space game, built with Compose for Desktop!

Asteroids, built with Compose for Desktop Want to learn how I built it? Read the two-part article in which I describe the most interesting parts of th

Sebastian Aigner 69 Nov 28, 2022
๐Ÿ’ป A cross-platform desktop application to identify libraries used inside an android application. Made possible by Compose Desktop โšก

?? stackzy A desktop app to analyse APK. Built using Compose desktop โœจ Demo Watch demo ??๏ธ Usage Show usage ?? Install Platform Download Status Linux

theapache64 876 Dec 24, 2022
Andromeda is a open-source design language system implemented in Jetpack Compose.

Andromeda Andromeda is a open-source design language system implemented in Jetpack Compose. Catalog app Table of Contents About the Project Getting St

Adit Lal 140 Dec 25, 2022