Skip to Content
Learning Java Through Games
book

Learning Java Through Games

by Lubomir Stanchev
November 2013
Beginner content levelBeginner
386 pages
12h 14m
English
CRC Press
Content preview from Learning Java Through Games
292 Learning Java through Games
if the order is to go. When the user finishes describing the order, they should press the
order button. As a result, a modal dialog box should appear. A textual description of
the order should appear in the dialog box.
12.17 Lab
Modify the Yahtzee game from Chapter 5 to use a GUI. Five dice should be displayed
in a window. The user should use check boxes to select which dice to reroll. The actual
rolling should happen by pressing the Roll button. The user should be allowed two rerolls.
After that, a modal dialog box should appear that informs the user whether he or she got
Yahtzee or not. Search images from the Internet ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Java by Building Android Games - Third Edition

Learning Java by Building Android Games - Third Edition

John Horton

Publisher Resources

ISBN: 9781466593312