0
Card Game
Hi guys, how you would write a code in python when there is a game where 2 players get 7 cards each. 7 rounds in the game and each round the value of the player's cards for that particular round are compared to see who has the highest valued card. And the player with the highest value card wins the round. I'm beginner and I'm stuck of thinking of the easiest way to do a loop? Thank you
2 Respuestas
+ 1
I would do a 7-round loop then, in it, generate the cards for both players and compare. Doesn't seem that hard - maybe you just have to begin.
0
Thank you very much Emerson, manage to sort it 🙂