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.
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.
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.
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.
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.