Find Jobs
Hire Freelancers

Python Game Assignment

₹600-1500 INR

Closed
Posted about 1 year ago

₹600-1500 INR

Paid on delivery
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.
Project ID: 36438983

About the project

3 proposals
Remote project
Active 1 yr ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average ₹1,050 INR for this job
User 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 in 1 day
5.0 (63 reviews)
4.6
4.6
User 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 in 7 days
0.0 (0 reviews)
0.0
0.0
User 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 in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Ferozepur, India
5.0
1
Member since Apr 28, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.