Skip to content

Juanoff/roulette-android-app

Repository files navigation

Roulette

The roulette wheel contains dynamically generated sectors with different colors and values. During wheel rotation the application calculates the resulting sector and displays the selected value after animation completion.

Features

  • Configurable number of sectors
  • Random spin generation
  • Winner sector calculation
  • Smooth deceleration animation
  • Adaptive layouts for portrait and landscape orientations
  • Custom wheel rendering via Canvas API

Tech stack

  • Kotlin
  • Jetpack Compose + Material 3
  • MVVM, StateFlow, Unidirectional Data Flow
  • Hilt
  • Coroutines + Flow
  • Animatable API

Requirements

  • Android SDK 26+
  • JDK 21
  • Android Studio

Clone Repository

git clone https://github.com/Juanoff/roulette-android-app.git

Open Project

Open the project in Android Studio.

Run Application

Run the application on:

  • Android Emulator;
  • physical Android device.

About

Android roulette wheel with configurable sectors, realistic spin animation with gradual stop, auto winner detection. Smooth deceleration, responsive layout for any screen orientation. Built with Compose and MVVM.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages