Hangman Game Project Overview
32 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What happens when a player guesses a letter that has already been guessed?

  • The letter is replaced in the word.
  • The game ends immediately.
  • There is no penalty or consequence. (correct)
  • The player loses a chance.
  • Which key must be pressed to restart the game?

  • 'Z' key (correct)
  • Enter key
  • Spacebar
  • R key
  • What determines the length of the secret word in Hangman?

  • The number of guesses remaining
  • The total number of players
  • The current score of the player
  • The level of difficulty selected (correct)
  • How does the game indicate that a player has lost?

    <p>The Hangman figure is fully drawn.</p> Signup and view all the answers

    What is displayed to show the player how many letters are in the secret word?

    <p>A sequence of blanks represented by underscores</p> Signup and view all the answers

    What type of statistics must be maintained during the game?

    <p>Statistics related to gameplay</p> Signup and view all the answers

    What occurs if the player guesses a letter that is not in the secret word?

    <p>The player is penalized with a loss of a chance.</p> Signup and view all the answers

    What role does the computer play in the game Hangman?

    <p>Chooser of the secret word</p> Signup and view all the answers

    What happens when the player guesses the entire word incorrectly after 6 attempts?

    <p>The player is informed they lost and the hangman fully appears.</p> Signup and view all the answers

    Which feature is necessary for program technical correctness?

    <p>Properly documenting the program and using clear block style.</p> Signup and view all the answers

    What does the program need to do if a player wins?

    <p>Inform the player they won and show a Win Screen with the secret word.</p> Signup and view all the answers

    What is a requirement for maintaining game statistics?

    <p>The game should keep track of the win-loss ratio across multiple games.</p> Signup and view all the answers

    Which aspect does NOT contribute to program creativity?

    <p>Using standard images and styles.</p> Signup and view all the answers

    How should the player initiate a new game after winning or losing?

    <p>Using the 'z' button to restart immediately.</p> Signup and view all the answers

    What is a component that must be included according to the rubric?

    <p>Use a custom block with parameters affecting functionality.</p> Signup and view all the answers

    What is an incorrect way to handle ASK and SAY blocks in the program?

    <p>Using ASK for any player input outside the guess word.</p> Signup and view all the answers

    What should be done with unused blocks in the program?

    <p>Remove them to maintain a clean scripting area.</p> Signup and view all the answers

    What leads to a point deduction when submitting the project?

    <p>Submitting the project late without a valid reason.</p> Signup and view all the answers

    Which of the following correctly describes the way the secret word is displayed during the game?

    <p>It is shown as a sequence of underscores, one for each letter.</p> Signup and view all the answers

    What is the maximum number of chances a player has to guess the word in the Hangman game?

    <p>Six chances</p> Signup and view all the answers

    What happens when the player guesses a correct letter?

    <p>The program informs the player and updates the word status.</p> Signup and view all the answers

    How should the player input a guess for an entire word?

    <p>Using a dedicated 'Guess Word' button.</p> Signup and view all the answers

    What is a requirement for the chosen secret word based on the difficulty level?

    <p>Hard level words must be 5 letters or less.</p> Signup and view all the answers

    What should be done if the player guesses a letter that has already been guessed?

    <p>The game informs the player that this is an invalid guess.</p> Signup and view all the answers

    What must the game display whenever the player makes a wrong guess?

    <p>An indication of incorrect guesses.</p> Signup and view all the answers

    What does the program return if the player guesses the complete secret word incorrectly?

    <p>The player loses, and the secret word is revealed.</p> Signup and view all the answers

    What should the player see to track their progress in the game?

    <p>The status of guessed letters and the hangman.</p> Signup and view all the answers

    Which component is unnecessary for the Hangman game setup?

    <p>A scorekeeper displayed on the screen.</p> Signup and view all the answers

    In what manner must the program display messages to the players?

    <p>In some alternative way without using SAY blocks.</p> Signup and view all the answers

    How many pieces of the hangman should be included in the game?

    <p>Six pieces.</p> Signup and view all the answers

    What aspect of the game must be documented for clarity?

    <p>The structure of the program and roles of partners.</p> Signup and view all the answers

    What alternative option should be avoided in the game regarding user input?

    <p>Displaying answers in an input box.</p> 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.

    Quiz Team

    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.

    More Like This

    The Dancing Brothers
    22 questions
    Hanuman Statue Overview
    5 questions

    Hanuman Statue Overview

    HalcyonBiography avatar
    HalcyonBiography
    Use Quizgecko on...
    Browser
    Browser