Find Jobs
Hire Freelancers

Python Game Assignment

₹600-1500 INR

Suljettu
Julkaistu noin vuosi sitten

₹600-1500 INR

Maksettu toimituksen yhteydessä
Python Game "Petals Around the Rose" and Number Converter Bid only if you are intersted to do project Budget is fixed. Only bid if you are ready to do in this budget. You are required to write a Python program that allows a player to play a game of Petals Around the Rose. The program allows the user to repeatedly guess the answer to the puzzle until the user chooses to stop guessing/playing. Once the user chooses to stop guessing, the program will report the game statistics to the screen. You may also like to read Bill Gates and Petals Around the Rose: [login to view URL] We will be adhering to the following 'Petals Around the Rose' rules and game play for the assignment. Petals Around the Rose Game Play and Rules: The name of the game is Petals Around the Rose and the name of the game is important. The computer will roll five dice and ask the user to guess the score for the roll. The score will always be zero or an even number. The user’s mission is to work out how the computer calculates the score in order to become a Potentate of the Rose. • To begin, the following instructions are displayed to the screen and the user is asked whether they would like to play Petals Around the Rose, i.e.: Petals Around the Rose ---------------------- The name of the game is 'Petals Around the Rose'. The name of the game is important. The computer will roll five dice and ask you to guess the score for the roll. The score will always be zero or an even number. Your mission, should you choose to accept it, is to work out how the computer calculates the score. If you succeed in working out the secret and guess correctly three times in a row, you become a Potentate of the Rose. Would you like to play Petals Around the Rose [y|n]? If the user enters 'n', the following message is displayed to the screen only: No worries... another time perhaps... :) If the user enters 'y', game play continues as normal. 5 of 33 • Game play is as follows: • The dice face values are then displayed to the screen and the user is asked to guess the score for the roll, for example: Die 1 Die 2 Die 3 Die 4 Die 5 [4] [3] [2] [5] [6] And We will be working with two numeral systems only for this part of the assignment, decimal and binary. Decimal refers to Base 10 and works with ten digits, thus, decimal numbers use digits 0-9. Binary refers to Base 2 and works with two digits, thus, binary numbers use digits 0-1. The following commands should be allowed: 1. Convert to binary: Prompt for and read (from the keyboard) a number (decimal whole numbers only) to be converted to binary. Convert the decimal number to the binary representation of the number as a string of 0s and 1s. Display the string (binary number) to the screen. 2. Convert to decimal: Convert a binary number to a decimal number by prompting for and reading (from the keyboard) a binary number (as a string). Convert the binary number to the decimal representation of the number (integer). Display the decimal number (integer) to the screen. 3. Binary counting: Prompt for and read a decimal number (whole numbers only). Display all decimal numbers starting from 1 up to and including the decimal number entered along with the binary representation of the numbers to the screen. 4. Quit: Quits the program displaying a goodbye message to the screen. Fixed Budget.
Projektin tunnus (ID): 36438983

Tietoa projektista

3 ehdotukset
Etäprojekti
Aktiivinen vuosi sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
3 freelancerit tarjoavat keskimäärin ₹1 050 INR tätä projektia
Käyttäjän avatar
Hi there yes I am expert in PYTHON and I can help you out for sure Kindly send me a message we'll discuss further Looking forward to hear you Thank you
₹1 050 INR 1 päivässä
5,0 (63 arvostelua)
4,6
4,6
Käyttäjän avatar
Hhi I am experienced in this and I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your replyyy Lets work together !!!
₹1 050 INR 7 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
I am a software engineer with expertise in computer vision. I believe that I can do this job faster and better than anyone else.
₹1 050 INR 7 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan INDIA lippu
Ferozepur, India
5,0
1
Liittynyt huhtik. 28, 2015

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.