stats update(thegame extract info print the results stats printreport(main(input("\npress to quit" case studydice poker back in suggested that objects are particularly useful for the design of graphical user interfaces want to finish up this by looking at graphical application using some of the widgets that we developed in previous program specification our goal is to write game program that allows user to play video poker using dice the program will display hand consisting of five dice the basic set of rules is as followsthe player starts with $ each round costs $ to play this amount is subtracted from the player' money at the start of the round the player initially rolls completely random hand ( all five dice are rolledthe player gets two chances to enhance the hand by rerolling some or all of the dice at the end of the handthe player' money is updated according to the following payout schedulehand pay two pairs three of kind full house ( pair and three of kind four of kind straight ( - or - five of kind ultimatelywe want this program to present nice graphical interface our interaction will be through mouse clicks the interface should have the following characteristicsthe current score (amount of moneyis constantly displayed the program automatically terminates if the player goes broke