Find Jobs
Hire Freelancers

farkle in python

$10-30 USD

Închis
Data postării: peste 4 ani în urmă

$10-30 USD

Plata la predare
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. This is it.
ID-ul proiectului: 22667347

Despre proiect

Proiect la distanță
Activ: 4 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte

Despre client

Steagul UNITED STATES
fairwood, United States
5,0
2
Metoda de plată a fost confirmată
Membru din dec. 2, 2019

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.