First Roll of Yahtzee
Have an app with 5 ImageViews and a Button. When the user clicks the button, your app should
simulate the rolling of five dice (select an array of five random integers in the range 1 to 6
(inclusive).
Random rand = new Random();
int die = rand.nextInt(6) + 1;
It should display the corresponding images. You can use Dice.zip or find
images you like better.
ReadRaw.zip Layout has Button and TextView. A raw folder was created in the res folder
and a (plain) text file has been placed in it. When the button is clicked, the file is read and
its content displayed in the TextView.
ReadRandomRaw.zip There are now four files (Shakespeare's Sonnets 15 through
18). When the button is clicked a number between 15 and 18 is chosen (pseudo) randomly and the corresponding
file is read and displayed.
ReadRandomRawDada.zip Split the sonnet into individual words. Rearrange the
words at random -- making a Dada poem out of a Shakespearean Sonnet.