you currently have $ dice[ enter list of which to change ([to stop[ , dice[ enter list of which to change ([to stop[ , dice[ four of kind you win $ you currently have $ do you wish to try your luckn thanks for playingyou can see how this interface provides just enough so that we can test out the model in factwe've got game that' already quite bit of fun to playdeveloping gui now that we have working programlet' turn our attention to graphical interface our first step must be to decide exactly how we want our interface to look and function the interface will have to support the various methods found in the text-based version and will also probably have some additional helper methods designing the interaction let' start with the basic methods that must be supported and decide exactly how interaction with the user will occur clearlyin graphical interfacethe faces of the dice and the current score should be continuously displayed the setdice and setmoney methods will be used to change those displays that leaves one output methodshowresultthat we need to accommodate one common way to handle this sort of transient information is with message at the bottom of the window this is sometimes called status bar to get information from the userwe will make use of buttons in wanttoplaythe user will have to decide between either rolling the dice or quitting we could include "roll diceand "quitbuttons for this choice that leaves us with figuring out how the user should choose dice to implement choosedicewe could provide button for each die and have the user click the buttons for the dice they want to roll when the user is done choosing the dicethey could click the "roll dicebutton again to roll the selected dice elaborating on this ideait would be nice if we allowed the user to change his or her mind while selecting the dice perhaps clicking the button of currently selected die would cause it to become unselected the clicking of the button will serve as sort of toggle that selects/unselects particular die the user commits to certain selection by clicking on "roll dice our vision for choosedice suggests couple of tweaks for the interface firstwe should have some way of showing the user which dice are currently selected there are lots of ways we could do this one simple approach would be to change the color of the die let' "gray outthe pips on