miross149
miross149
CC#
Created by miross149 on 12/26/2022 in #help
✅ Texas holdem poker
Hi, I need help with my project to school. My task is to create Texas holdem poker. But I dont know how to find if players have one of the 10combinations. I m getting random 9 cards from class "Card". Cards are 1-14(hearths), 101-114(spades), 201-214(clubs) and 301-314(diamonds). player 1 have cards cards[5].Value and cards[6].Value player 2 have cards cards[7].Value and cards[8].Value on the table are cards cards[0].Value, cards[1].Value, cards[2].Value, cards[3].Value, cards[4].Value and now, i dont know how to evaluate combinations. If you need more informations text me. thanks a lot!
6 replies