I am fairly new to Python, but trying to make a poker game. How do I determine the winner? I have 'scored' the hands 1-8, and given sub-scores for the high card, but how do I compare the scores of 4 players and then in the event of a tie, compare the sub-scores of the tied players? I have been contimplating this for 3 days now, and still come up blank. I wish I could post the code I have so far, but it is simply an empty def statement. Does anyone know a simple algorithm for this? Or even a long drawn out process would be fine at this point. Thanks.
All 4 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.