Projects/Edu/Khangman/QA List 2.5

    From KDE TechBase
    < Projects‎ | Edu‎ | Khangman
    Revision as of 05:24, 16 December 2012 by Lambda Fairy (talk | contribs) (Add gameplay section)
    The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

    List of expected behaviors for KHangMan 2.5.

    Mouse Navigation

    Keyboard commands

    • [Alt-U] focuses the guess box
    • When the guess box is selected, typing a character causes it to appear inside. It should only hold one character, and that character must be a letter.
    • [Enter] makes the guess and clears the box – see #Gameplay below for details.

    Gameplay

    After entering a guess, if it is...

    Correct
    Update answer area. If all letters have been guessed, show "Congratulations! You won!" and start a new game.
    Incorrect
    Update misses area and hangman image. If the misses area is full, show "You lost. The word was _____."
    Already guessed
    Display an error message.

    The box is then cleared so the user can enter another guess.

    Menu functions and keyboard shortcuts

    Game Menu

    • New [Ctrl-N]: Resets the game
    • Open... [Ctrl-O]: Pops up a file chooser, allowing the user to pick a custom dictionary
    • Open Recent
    • Get Words in New Language... [Ctrl-G]: Opens the add-on installer
    • Quit [Ctrl-Q]

    Category Menu

    This contains a list of word categories (Animals, Fruits, Numbers, etc.). Choosing any of the categories starts a new game with a word from that category.

    Language Menu

    Look Menu

    Lists the available themes. In the default installation, the following themes are provided:

    • Sea Theme
    • Bee Theme
    • Desert Theme

    Selecting a theme changes the visual style of the game, but retains the game state (i.e. it doesn't start a new game)

    Toolbar

    These match the behavior of their namesakes in the menu (see above)

    • New
    • Show Hint: No idea what this does. It is always disabled (version 2.5).
    • Quit
    • Theme switcher: mirrors Look menu
    • Language switcher: mirrors Language menu