An Android application that allows users to roll two dices by clicking on a button or by shaking their phone.
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 :