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"

 Could someone please code this Java UML. it is War Card

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!