A Truth and Dare game for Android using Java and XML in Android Studio. The game features a spinning bottle animation that randomly selects a player when tapped.
- 🎡 Fast Bottle Spin – Spins quickly in 1.5 seconds.
- 🔄 Smooth Animation – Uses
RotateAnimation
for fluid movement. - 🔊 Sound Effects – Plays a spin sound when the bottle rotates.
- 🎯 Random Player Selection – Chooses between Player 1 to Player 4.
- 📱 Edge-to-Edge UI – Modern Android UI with EdgeToEdge mode.
- Tap the bottle to start spinning.
- The bottle rotates randomly and stops after 1.5 seconds.
- A random player is selected based on the final bottle position.
- The selected player’s name appears on the screen.
- Java – Android development.
- XML – UI design.
- MediaPlayer – For playing sound effects.
- RotateAnimation – For smooth bottle rotation.
- Clone this repository:
git clone https://github.com/Tarekuzjaman0/TruthDare.git