Podcast
Questions and Answers
What happens when a player guesses a letter that has already been guessed?
What happens when a player guesses a letter that has already been guessed?
Which key must be pressed to restart the game?
Which key must be pressed to restart the game?
What determines the length of the secret word in Hangman?
What determines the length of the secret word in Hangman?
How does the game indicate that a player has lost?
How does the game indicate that a player has lost?
Signup and view all the answers
What is displayed to show the player how many letters are in the secret word?
What is displayed to show the player how many letters are in the secret word?
Signup and view all the answers
What type of statistics must be maintained during the game?
What type of statistics must be maintained during the game?
Signup and view all the answers
What occurs if the player guesses a letter that is not in the secret word?
What occurs if the player guesses a letter that is not in the secret word?
Signup and view all the answers
What role does the computer play in the game Hangman?
What role does the computer play in the game Hangman?
Signup and view all the answers
What happens when the player guesses the entire word incorrectly after 6 attempts?
What happens when the player guesses the entire word incorrectly after 6 attempts?
Signup and view all the answers
Which feature is necessary for program technical correctness?
Which feature is necessary for program technical correctness?
Signup and view all the answers
What does the program need to do if a player wins?
What does the program need to do if a player wins?
Signup and view all the answers
What is a requirement for maintaining game statistics?
What is a requirement for maintaining game statistics?
Signup and view all the answers
Which aspect does NOT contribute to program creativity?
Which aspect does NOT contribute to program creativity?
Signup and view all the answers
How should the player initiate a new game after winning or losing?
How should the player initiate a new game after winning or losing?
Signup and view all the answers
What is a component that must be included according to the rubric?
What is a component that must be included according to the rubric?
Signup and view all the answers
What is an incorrect way to handle ASK and SAY blocks in the program?
What is an incorrect way to handle ASK and SAY blocks in the program?
Signup and view all the answers
What should be done with unused blocks in the program?
What should be done with unused blocks in the program?
Signup and view all the answers
What leads to a point deduction when submitting the project?
What leads to a point deduction when submitting the project?
Signup and view all the answers
Which of the following correctly describes the way the secret word is displayed during the game?
Which of the following correctly describes the way the secret word is displayed during the game?
Signup and view all the answers
What is the maximum number of chances a player has to guess the word in the Hangman game?
What is the maximum number of chances a player has to guess the word in the Hangman game?
Signup and view all the answers
What happens when the player guesses a correct letter?
What happens when the player guesses a correct letter?
Signup and view all the answers
How should the player input a guess for an entire word?
How should the player input a guess for an entire word?
Signup and view all the answers
What is a requirement for the chosen secret word based on the difficulty level?
What is a requirement for the chosen secret word based on the difficulty level?
Signup and view all the answers
What should be done if the player guesses a letter that has already been guessed?
What should be done if the player guesses a letter that has already been guessed?
Signup and view all the answers
What must the game display whenever the player makes a wrong guess?
What must the game display whenever the player makes a wrong guess?
Signup and view all the answers
What does the program return if the player guesses the complete secret word incorrectly?
What does the program return if the player guesses the complete secret word incorrectly?
Signup and view all the answers
What should the player see to track their progress in the game?
What should the player see to track their progress in the game?
Signup and view all the answers
Which component is unnecessary for the Hangman game setup?
Which component is unnecessary for the Hangman game setup?
Signup and view all the answers
In what manner must the program display messages to the players?
In what manner must the program display messages to the players?
Signup and view all the answers
How many pieces of the hangman should be included in the game?
How many pieces of the hangman should be included in the game?
Signup and view all the answers
What aspect of the game must be documented for clarity?
What aspect of the game must be documented for clarity?
Signup and view all the answers
What alternative option should be avoided in the game regarding user input?
What alternative option should be avoided in the game regarding user input?
Signup and view all the answers
Study Notes
Hangman Project Requirements
- Project Due: December 2, 2024, 10:00 PM (Canvas)
- Game Objective: Player guesses letters in a secret word chosen by the computer. The player loses chances as they guess incorrectly as the Hangman figure is drawn. The game ends when the word is guessed correctly or the Hangman is fully drawn.
-
Game Play:
- Computer chooses a secret word from a list.
- Hidden word is displayed as underscores.
- Players guess single letters; correct guesses reveal letters in the secret word, incorrect guesses add to the Hangman figure.
- Repeated guesses don't penalize the player.
- "Guess Word" button allows the player to guess the entire word (only use ask block here).
-
Secret Word Selection (Based on Difficulty):
- Easy: 9 or more letters.
- Medium: 6-8 letters.
- Hard: 5 or fewer letters.
-
Game End & Restart:
- Player wins by guessing the word correctly (in whole or in part).
- Player loses by running out of chances (Hangman complete).
- Game restarts with a "z" key press.
- Word Display: Current guessed letters must be displayed on the screen, while unguessed letters appear as underscores.
-
Hangman:
- The Hangman figure reveals pieces with incorrect guesses (head, body, arms, legs).
- The Hangman sprite's image is crucial for tracking game progress; its image must meet educational standards.
-
Sprite Requirements:
- Appropriately named sprites (avoid "Sprite1", "Sprite2").
- "Guess Letter" sprite(s) to handle single letter guesses.
- "Guess Word" button to prompt for the entire guess.
- Appropriate use of (and avoidance of) ask/say blocks is crucial(only "ask" allowed when guessing the entire word).
- Word List: Use the provided "wordList" from the starter code to choose a random secret word based on difficulty settings.
- Statistics: The game must track and display the win/loss ratio and fewest guesses record for the user's subsequent games.
-
Documentation:
- Organize Snap! scripts for readability.
- Remove unused blocks.
- Name sprites, variables, and custom blocks clearly.
- Add comments to explain complex code sections.
- Provide details about which partner worked on which parts of the code.
-
Custom Block Requirements:
- Include a custom block with a parameter impacting game functionality (at least 1 parameter).
- The block must utilize sequencing, selection, and iteration and produce different outputs based on the different input parameters.
- Use a list (other than the word list) for efficient game mechanics.
- Screen Display: Information must be displayed without using the "say" block or variable display boxes.
- Important Note: Late submission will incur point deductions. Deductions will increase as time passes (see the rubric). Also, maintain school-appropriate content.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
This quiz outlines the requirements for a Hangman game project. It covers game objectives, gameplay mechanics, secret word selection based on difficulty levels, and winning conditions. Perfect for understanding the fundamentals of game design and implementation.