The Essential Guide to HTML5

(Greg DeLong) #1

DICE GAME


Figure 2-11 shows a possible opening screen for the first application. I say possible because it won't
always be a 4. I deliberately captured this screenshot to show practically all of the window so you can see
where the drawing is located on the screen.


Figure 2-11. The single die application


Figure 2-12 shows the opening screen of the application for throwing a pair of dice. All that appears is the
button.


Figure 2-12. The opening screen of the pair of dice application


Lastly, Figure 2-13 shows the screen after the player clicks on the button.

Free download pdf