0% found this document useful (0 votes)
3 views1 page

Hangman Game

The document outlines the roles and tasks for developing a word guessing game. Person 1 is responsible for setting up the game variables and word list, Person 2 handles the game logic with functions for word selection and guess checking, while Person 3 manages user interaction and game flow. An optional feature includes creating a text file for words and implementing a function to load words from that file into the game.

Uploaded by

aysumamedova04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Hangman Game

The document outlines the roles and tasks for developing a word guessing game. Person 1 is responsible for setting up the game variables and word list, Person 2 handles the game logic with functions for word selection and guess checking, while Person 3 manages user interaction and game flow. An optional feature includes creating a text file for words and implementing a function to load words from that file into the game.

Uploaded by

aysumamedova04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Person 1: Setup and Initialization

● Create a list of words for the game.(check slack)


● Initialize game variables like attempts(6-10) and the chosen word.

Person 2: Game Logic

● Implement functions:
○ select_word(): Randomly choose a word to guess by player.
○ display_progress(): Show the current state of the word with guessed
letters.
○ check_guess(): Verify if the guess is in the word.

Person 3: User Interaction and Game Flow

● Implement the main game loop.


● Manage user input and output messages.
● Check for win/loss conditions and restart option.

Optional:

Create a Text File:

● Create a file named words.txt and add a list of words, each on a new line.

Function to Read Words:

● Implement a function load_words_from_file(filename) that reads words


from a text file.

Integrate with Hangman Game:

● Modify the game to use words from the file if available.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy