Skip to content

An Android application that allows users to roll two dices by clicking on a button or by shaking their phone.

Notifications You must be signed in to change notification settings

sophie-pan/RollDice

Repository files navigation

RollDice

An Android application that allows users to roll two dices by clicking on a button or by shaking their phone.

the app preview

This project allowed me to discover Android Studio. I followed their tutorial that taught me how to :

  • create a new project
  • manipulate layout
  • add a click listener
  • render the data we want in a TextView and in a ImageView

For more fun, I added two more features :

  • on click on the button "ROLL", I want to see the dices rolling before getting the result
  • I want to be able to roll the dices by shaking my phone

I used the following resources to make those features :

About

An Android application that allows users to roll two dices by clicking on a button or by shaking their phone.

Topics

Resources

Stars

Watchers

Forks

Languages