Find Jobs
Hire Freelancers

code breakers (python)

$30-250 CAD

I përfunduar
Postuar over 5 years ago

$30-250 CAD

Paguhet në dorëzim
In this problem you are to design a game called “Code Breakers” which is played between 2 players. Each player takes a turn to setup a code that the other player has to break. Players get points based on how close they get to breaking the code. Your game should begin by some welcome message welcoming the players into the game. Next the players have to determine how many rounds they want to play the game for. This has to be a positive integer number. In each round one player sets up the code and the other players tries to break it and vice versa. At each round the player who is setting up the code asks the other player to look away and then types in the codeword. Once the player is done and presses enter, the screen is cleared [perhaps print many newlines]. It will be wise to convert the codeword to all lowercase at this point as it will make it easier for you to code the rest of the program [see list of useful functions below]. After setting up the code, the next thing a player sets up is the number of guesses he/she will allow the opponent player to have to break the code. This should be a positive integer (i.e. an integer greater than 0). At this point the opponent player (who is trying to break the code) starts his play. He guesses one character (again picking some character from a to z) at a time until he either guesses the string correctly (breaks the code) or runs out of number of guesses that he/she is allowed in that round of play by the other player. After each guess by the opponent you should display the partially guessed word [see Sample Input and Output]. When the opponent player reaches his/her limit for the number of guesses, or better yet guesses the whole word correctly, the players change their roles, i.e. – the one who was setting up the code before now tries to guess the code setup by his/her opponent. At the end of each round the players get to see their scores up to that point in the game [see Sample Input and Output]. After all rounds are over (determined by the players at the beginning of the game) you should determine who wins/loses/if it’s a draw. Then you should print a game over message and end the game. SOME HINTS: There are a number of different built-in python functions that you may want to use for this program. For example, chr(…), ord(…) functions may be used. Strings have a built-in method that converts the whole string to all lowercase characters. Please remember that I am only providing you with names of these built-in python functions. It is your responsibility to look them up in the links I have provided during the course and figure out how exactly to use them.
ID e Projektit: 18154705

Rreth projektit

4 propozime
Projekt në distancë
Aktive 5 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
HI..I am quite familiar and strong at python programming and can help you write the code breaking game as console programming as per given requirements. please contact me soon for a discussion.
$77 CAD në 1 ditë
4,9 (74 përshtypje)
5,6
5,6
4 freelancers are bidding on average $103 CAD for this job
Avatari i Përdoruesit
Hello? How are you? I have good experiences in "code breakers (python)" as you can see my profile for these (Python). I have been working for 7 yrs in this scope. While we contract and work in our jobs, I will get paid once you have confirmed satisfied result. If I do not deliver satisfied result, I will never get paid from you. We can discuss more details to understand more easily if you have other infos. Hope to work with you. Thank you.
$100 CAD në 3 ditë
5,0 (14 përshtypje)
5,0
5,0
Avatari i Përdoruesit
Hello this is Asad ,i have a vast experience in python programming, if you need an a good grade contact me.
$122 CAD në 2 ditë
4,7 (4 përshtypje)
2,8
2,8
Avatari i Përdoruesit
Hi There, I have been building Games on Python since Pygame was released and absolutely love it! Read the Word doc, and this looks like a fun project that I should be able to finish in a day or two. I'm new to the freelancer platform, hence the low bid. Timeline - couple of days, since I don't have much on my plate right now Milestones - indicative, feel free to suggest changes Let me know if you have any questions. Thanks, Adi 10 years of experience with Salesforce, Python, Excel and *nix systems.
$111 CAD në 3 ditë
5,0 (1 review)
0,0
0,0

Rreth klientit

Flamuri i CANADA
richmond, Canada
5,0
1
Mënyra e pagesës u verifikua
Anëtar që nga nën 13, 2018

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.