LarsGast / DeckOfPlayingCards

Simple code to play with a standard deck of 52 cards
MIT License
0 stars 0 forks source link

Flip display string #21

Closed LarsGast closed 1 year ago

LarsGast commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, card.getDisplayString() returns the suit and the rank of the card in this order: ♠2. It should be the other way around: 2♠.

Describe the solution you'd like Swap the this.suit.getDisplayString() and the this.rank.getDisplayString(displayTenAsT) in the card.getDisplayString() method.