Find Jobs
Hire Freelancers

Python Game Assignment

₹600-1500 INR

Fechado
Publicado há aproximadamente 1 ano

₹600-1500 INR

Pago na entrega
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.
ID do Projeto: 36438983

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 11 meses

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
3 freelancers estão ofertando em média ₹1.050 INR for esse trabalho
Avatar do Usuário
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 em 1 dia
5,0 (63 avaliações)
4,6
4,6
Avatar do Usuário
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 em 7 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
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 em 7 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) INDIA
Ferozepur, India
5,0
1
Membro desde abr. 28, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.