With what you learn, you need to simulate the roll Dice action in our game Ladder & Snake.
- Make an iOS App with 1 button and one Image View
- When the user pressed the button, he can get a result of the Dice
- You need to display an image to represent the result of the rolling Dice (like the screenShot)
You need to undersatand those step below :
- Drag and drop your view in the story boad
- Need to bind your view with your code (button and Image)
- Use "control + Touch" button to see the blue link
- Need to use conditionals, variables, function...