Skip to content

AhmedGamalRamadan/SnakeGameCompose

Repository files navigation

Snake Game in Kotlin using Jetpack Compose

This is a classic Snake Game implemented in Kotlin using Jetpack Compose for the UI rendering. The game provides a nostalgic experience of controlling a snake to eat food and grow in size while avoiding the snake's own body.

Features:

  • Jetpack Compose: The app leverages Jetpack Compose, a modern Android UI toolkit, to create a seamless and interactive user experience.
  • Kotlin: Developed entirely in Kotlin, the codebase benefits from the conciseness and expressiveness of the language, promoting efficient and readable code.
  • Custom Canvas Rendering: Leveraged Canvas to create dynamic graphics and animations,enhancing the game's visual appeal.
  • Dynamic Sound Effects: Integrated MediaPlayer to provide players with an immersive auditory experience, triggering sound effects upon game over.
  • Scoring System: Keep track of your score as you consume food and grow the snake
  • Game Over Detection: Detect collisions with the snake's body to end the game.

Screenshots:

splash splash splash
splash splash

How to Run:

  1. Clone the Repository: Clone this repository to your local machine.
  2. Open in Android Studio: Open the project in Android Studio.
  3. Build and Run: Build and run the project on an Android device or emulator.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages