Lengkap

project in python

Please read all the rules and then write the code.

Farkle game in python

"PLAYERS"

- you should enter the number of players as a parameter (2 to 6 players).

- So, there user has to choose how many players will play the game, but it should be between 2-6.

Determining Who Goes First

- Each player rolls one die, with the highest roll going first. In the event of a tie, the players who tied for the highest roll, roll again.

- Once the first player is decided, play continues to the left.

Farkle Scoring

You cannot count any of your points until you reach at least 500 points in a single round. When you reach 500 points for the first time, you may choose to immediately end your turn to prevent losing the points.

"Point table"

5's = 50 points

1's = 100 points

5,5 = 100 points

1,1 = 200 points

1,1,1 = 300 points

2,2,2 = 200 points

3,3,3 = 300 points

4,4,4 = 400 points

5,5,5 = 500 points

6,6,6 = 600 points

Four of a Kind = 1,000 points

Five of a Kind = 2,000 points

Six of a Kind = 3,000 points

A Straight of 1-6 = 1,500 points

Three Pairs = 1,500 points

Four of a Kind + a Pair = 1,500

Two sets of Three of a Kind = 2,500

Note: - single 2,3,4,6 will not have any points. Also, 2,2 or 3,3 or 4,4 or 6,6 will not have any points until if it is four of a kind + a pair or three pairs.

"Your Turn"

- There will be six die and after rolling, take out any dice worth points after each roll. This forms your running score for the round.

- Roll the remaining dice, removing any dice worth points and adding them to your running total.

- If you are ever able to set aside all six dice, you may re-roll all of your dice and keep building your running total.

- If ever you are unable to set aside any dice (no dice are worth points), you have Farkled. You lose your running point total and your turn is over.

Winning the Game

- Be the first player to meet or exceed 10,000 points to start the end game sequence. Each other player has one turn to try to beat your score.

- After all remaining players have had their turn, the player with the highest score wins.

-------------------------------------------------------------------------------------------------------------

- score point should be correct according to the point table and note that die should re-roll for remaing die which has no point. after the reroll if there is one die left with no points then the score of that round will be zero.

- if all the die has point, user can choose to roll again or pass his/her roll.

This is it.

--------------------------------------------------------------------------------------------------------------------

I have attached my code which is not correct but it is working it needs some work on that.

Kemahiran: Python

Lihat lagi: intermediate python projects, python projects for practice, coding projects in python pdf, python projects github, python projects list for beginners, python projects with source code, python project topics, interesting python projects, adding captcha joomla forms, someone can final project powerpoint please, wordpress adding image upload forms, oscommerce adding input fields forms, adding captcha html forms, classification text project python, text classfication project python, adding access database forms project, adding extra paypal forms, adding javascript joomla forms, bugs tracker project python, bug tracking project python

Tentang Majikan:
( 2 ulasan ) fairwood, United States

ID Projek: #22707679

Dianugerahkan kepada:

Fullstact

Hello. How are you. I'm software engineer and algorithm expert. I have many experiences in java, python. I can complete your project successfully. Thanks.

$30 USD dalam sehari
(1 Ulasan)
1.1

8 pekerja bebas membida secara purata $39 untuk pekerjaan ini

topexpert713

Hi, Nice to meet you! I have read your requirements carefully and I am very interesting for your project. I am confident of this project as I'm a professional Python expert with over 5 years of experience. [login to view URL] Lagi

$30 USD dalam 7 hari
(43 Ulasan)
6.0
RushService

Feel fee to contact me for project in python .Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the Lagi

$30 USD dalam 3 hari
(17 Ulasan)
4.5
Alexsfodik

Hi. Dear. Your job posting has caught my attention. I have an expertise in Python and Python Frameworks such as Flask,Django. I have many experiences in python, tkinter, django. I can complete your project successfully Lagi

$60 USD dalam 2 hari
(2 Ulasan)
3.3
Alenaweb

Software Engineering Expert here. I have read your project description, and I noticed that these types of projects are very familiar to me. I am ready for all the required skills and I can jump into this project just f Lagi

$20 USD dalam 7 hari
(1 Ulasan)
1.8
inhe121

Dear sir! ⭐I am very interested in your project and I am exciting. ⭐I read your project details carefully and I though that I am the best fit developer for your project. ⭐I have rich experience about your project, so I Lagi

$100 USD dalam 2 hari
(1 Ulasan)
0.8
levchekoaleksand

Dear, client. I am a python expert and have a good experience. So I can do it in 2~3 hours. If you hire me, I will start immediatly. Regards

$20 USD dalam sehari
(0 Ulasan)
0.0
alihasnat51

Hi, I read your requirement carefully. I have done different project in python. I am ready to do your task. Let's drop me a message. I'm waiting for your response

$20 USD dalam 2 hari
(0 Ulasan)
0.0