Type | Text | Image |
---|---|---|
RadioButton | <<App Title>> | |
RadioButton | Rock | |
RadioButton | Paper | |
RadioButton | Scissors | |
TextView | computerScore | |
TextView | humanScore | |
ImageView | Image for computerPlay | |
ImageView | Image for humanPlay | |
Button | Play Rock Paper Scissors |
+--------------------------------------+ | RPSGame | +--------------------------------------+ | - humanPlay {get, set} : String | | - computerPlay { get, set } : String | | - humanScore {get} : Int | | - computerScore { get } : Int | +--------------------------------------+ | + constructor( ) | | + play( ) | | + reset( ) | +--------------------------------------+