compose-snake-desktop

Snake App using Compose for Desktop

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

snake-compose-desktop

Requirements

  • IntelliJ IDEA 2020.3.4 (or latest)
  • JDK 11

Technologies

Game Features

  • Unlimited Life
  • Snake gets longer after eating the food
  • Game restarts when snake hits a wall
  • Game restarts when snake hits its own body.

Future Features (feel free to raise a PR)

  • Add and show a score
  • Add UI for settings to control the following parameters:
    • Game Speed
    • Snake and Food Colors
    • Game Size
    • Toggle Wall Restrictions

GitHub

https://github.com/crjacinro/compose-snake-desktop