icon

UseTopicwritingscode to get 5% OFF on your first order!

Basic Game Development in Python

Requirements:

For this assignment, you are tasked to develop a game called Guess the Word, which allows two players to participate in turn. The game should contain the following key elements of play:

1.    The game should start by prompting Player 1 to enter a word of their choice via the Python console screen for Player 2 to guess (assume that Player 2 looks away and does not see).
2.    The Python console should then be cleared so as to hide the word from Player 2.
3.    Player 2 must now guess the word by typing one letter into the Python console following a suitable prompt.
4.    For each guess, the game needs to determine if the guessed letter is present in the word that has been set by Player 1. If the guess is incorrect, one element of an ambulance should be drawn onto the game/Turtle screen (see video for example of how elements may be drawn and further detail below).
5.    The process then repeats from Step 3 (i.e. Player 2 is asked to enter another letter, assuming they have not used up their total number of guesses, as below).
6.    Player 2 is allowed a total of 8 incorrect guesses, and hence will lose the game if all 8 attempts have been used.
7.    As consistent with the above, the drawing of the ambulance should take 8 strokes in total to complete on the game/Turtle screen. Therefore, if the picture of the ambulance is fully drawn, this means Player 2 loses the game, and a message is displayed on the screen to confirm.
8.    The game should provide a suitable graphical interface to enhance the users experience and increase the games appeal.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes