Oicho-Kabu is a card game where players try to get as high a score as possible based on the cards they have. The score of a hand is the sum of the cards (numbered 1 to 10) Mod 10, so the score can only be between 0 and 9.
Write an application that plays Oicho-Kabu (sort of), with one human and one computer player. The "cards" are actually just random numbers between 1 and 10. The human player is dealt two cards and given the option of getting a third, and then the computer deals itself two cards, and a third if the score is equal to or less than 3.
When the Play button is clicked, the program should deal two cards (use two labels, make 'em card-like using shape and color properties) to the human, and give the option of a third (another label). Then the computer deals itself the two or three cards. The game should keep track of Human Wins, Computer Wins, and Draws, between plays (use a static variable here).
You should be able to come up with your own Object list by now. (Muhuhuhahahahaha!)
Make sure your program is user-friendly, with good prompts and labels.
HINTS: Use functions and procedures where appropriate.