Please Help
LukeBreeden1 (1)

Ok... I'm am trying to code a Yahtzee game with python and am having a bit of trouble. I'm new to python and heard that a dice game is a simpler task for beginners(guess I picked the wrong game). Anyway, what I'm having trouble with is that I'm trying to make a connection between the numbers rolled and the numbers the player chooses to keep. Can anyone help me... I can share if that is what's needed.

You are viewing a single comment. View All
Answered by Elizabeth11 (20) [earned 5 cycles]
View Answer
CBlockSurprise (16)

Can you share the link of the repl?

CBlockSurprise (16)

@LukeBreeden1 Hopefully this is what you need. Sorry if it is a bit complicated, but I sorted out the code a bit, and this is what I got! I tried to comment on the code to the best on my ability, so I hope it helps you!