Develop a game called guess the word


Assignment Title - Basic Game Development in Python (Doable it's a GAME in python)

This Assignment assesses the following module Learning Outcomes:

1: Have knowledge and understanding of sufficient features of a high level programming language to develop solutions to simple programming problems;

2: Have knowledge and understanding of the concepts of data declaration and operations, control flow (sequence, selection, iteration, subroutine call) and modularisation;

3: Have knowledge and understanding of the terminology used in describing programs and programming.

4: Design and implement solutions to simple programming problems in a given programming language;

5: Execute, test and de-bug programs;

6: Document programs to an agreed standard.

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 user's experience and increase the game's appeal.

Several key aspects of information must be shown on the game/Turtle screen to aid the operation of the game (as shown in above example):

Each letter of Player 1's chosen word should be masked with a correct number of stars, *, to indicate the number of letters in the word (relevant letters will then become visible with a correct guess).

There should be a suitable message displayed to indicate if Player 2 has won or lost the game at the correct point (i.e. when all the letters of the word have been guessed correctly, or the number of attempts has run out).

Correct and appropriate drawing of the ambulance (a total of 8 strokes to match the number of attempts allowed).

Display incorrectly guessed letters.

Display the number of remaining attempts.

User input may take place in the Python console. The console should be cleared for the benefit of game play, i.e. at the beginning of each new game, and after Player 1 has entered their word. The game should repeat automatically on the completion of each instance (i.e. when Player 2 wins or loses).

Design Strategy - There may be numerous approaches to implement this program. Here is one possible pathway to cover essential points of development:

1. Write a simple main file. Display the welcome information in a user-friendly format, allowing Player 1 and Player 2 to input at the correct time, and clear screen where necessary.

2. Store the word that Player 1entered as a list.

3. Use a loop to repeatedly ask Player 2 to input a letter.

4. Search the letter that Player 2 has entered in the list (Point 2 above) and determine if there is a match for later use.

5. Add a counting feature that allocates a total of 8 guesses.

6. Determine and implement a drawing process for the ambulance.

7. Split the code for the drawing of the ambulance into 8 distinct parts according to key strokes (watch the demo video as an example) and call them as required depending on Player 2's progress.

8. Display relevant messages on the game screen.

9. Enhance the documentation of program.

For all those students, who are seeking for the top-notch Game Development in Python Assignment Help service for a long period of time, Tutorsglobe has explored its remarkable services here!

Tags: Game Development in Python Assignment Help, Game Development in Python Homework Help, Game Development in Python Coursework, Game Development in Python Solved Assignments, Programming Assignment Help, Programming Homework Help

Attachment:- Programming Python.rar

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Develop a game called guess the word
Reference No:- TGS03055177

Expected delivery within 24 Hours