sopra-fs23-group-21 / sopra-fs23-group-21-server

Apache License 2.0
0 stars 0 forks source link

Judge whether the Poker Combination is a Three-And-One poker combination, and returns the value of any of the three cards in front of the Three-And-One. #74

Closed wz0973 closed 1 year ago

wz0973 commented 1 year ago

Because according to the rules of Doudi Zhu, a three-and-one is a poker combination. And three in three-and-one must be equal. e.g. 666-5, 333-J, 777-10 But the rank of one in three-and-one does not matter, we just compare the rank of three in three-and-one. e.g. 666-5 is greater than 333-J.