Python Forum

Full Version: Yahtzee poker game. Python3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there. I am new in Python. A friend of mine offered me a challenge. SO am in.
Yahtzee is a poker game, but u also use 5 bones in it. Each member of game makes turn one and turn two, lets start with turn one.

In first turn i make a throw of 5 bones, and i have to highlight the repeated values.
Example - i make throw of 5 bones and i have 1,1,3,4,6.
I have to highlight 1,1. So in my turn i have 1,1.
Can u please help me to make it using python?
Thx
Are you using Pygame, or are you trying to make a command line game, or something else? What do you have so far?
I ma using Python3. Whats pygame?
Im trying to make command line.
I made bone class, 6 sides.
I made class Glass where i have 5 bones.
I made class Yahtzee(name of the game).
So i need to make first turn. To throw 5 bones from glass and choose for repeated values.
Thx for reply.
Show your code (in Python tags, see the BBCode link in my signature, below). We can't help you without seeing what you have done.