Question: Could someone please code this Java UML. it is War Card game with 2 playes and 52 cards and deck and higher card wins and
Could someone please code this Java UML. it is War Card game with 2 playes and 52 cards and deck and higher card wins and they should play untill nothing left in their hands also it should be the same as the UML as possible.
**** NO GUI please, just a normal input "scanner"

GroupOfCards Card cards: Cardl -num int -suit: int -currentSize: int +addCard(card : Card): void +display0 : void +displayO: void Deck Hand +shuffle0: void +dealCardO: Card +sortO void +playACard0: Card Game -deck: Deck -playerl : Hand -player2 : Hand +playAGame): void
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
