Find Jobs
Hire Freelancers

code breakers (python)

$30-250 CAD

Closed
Posted almost 11 years ago

$30-250 CAD

Paid on delivery
CODE BREAKERS 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.
Project ID: 4684772

About the project

18 proposals
Remote project
Active 11 yrs 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
18 freelancers are bidding on average $108 CAD for this job
User Avatar
I can help!
$99 CAD in 5 days
4.9 (29 reviews)
5.9
5.9
User Avatar
It sounds kind of like "Hangman". I hope you can provide extra documentation/examples. Thank you.
$220 CAD in 5 days
5.0 (14 reviews)
5.0
5.0
User Avatar
Have developed games like memory puzzle, hangman etc before. Would definitely finish this one in time.
$45 CAD in 3 days
5.0 (1 review)
4.5
4.5
User Avatar
Sir, I have over 6 years of solid Python development experience. This game project sounds like it'd be pretty fun to code, and I based on your description I can handle it with ease. Please see my PM for a more detailed bid.
$166 CAD in 3 days
4.9 (12 reviews)
4.0
4.0
User Avatar
Hello sir. I am interested for this job. Please, provide me more info. Regards vladang
$100 CAD in 10 days
4.9 (12 reviews)
3.6
3.6
User Avatar
An experienced Python programmer. We can do this in minimum time possible.
$39 CAD in 3 days
5.0 (2 reviews)
2.3
2.3
User Avatar
ready to complete it , I have experience in GUI . and using libraries like QT , PYQT , Tikinter
$250 CAD in 3 days
5.0 (1 review)
1.8
1.8
User Avatar
This is a fairly trivial problem, really. I have attached a more detaile description of my bid in the private message.
$77 CAD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Working with python for more than 1 year
$35 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. I am interested in gaming Programming. I will make your code perfect if you hire me.
$211 CAD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
This is a task I'd be more than able to complete. I've already completed a project very similar to this in the past using Java.
$111 CAD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have experience designing in python and I believe I could make your project exactly to your specifications.
$30 CAD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
This looks like a fun game to make. I have many years experience using python for game development and physics visualisations so this game will be no bother. Check my portfolio if you'd like to see a python example.
$160 CAD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Very simple and fun project. If you award me this project I'll concentrate on making the code legible and simple since it sounds like it's for an assignment.
$35 CAD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I've done projects like this in my undergrad, and have tutored students on similar projects. I can get it done to satisfy all requirements, and quickly.
$116 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
hi i work with python for 2 years and i will be glad to help you
$88 CAD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have a lot of experience programming in Python.
$55 CAD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have a lot of experience in python and have already made a similar project some years ago.
$100 CAD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Canada
0.0
0
Member since Jul 2, 2013

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.