Skip to content

[configlet] hangman: missing test cases #3131

@github-actions

Description

@github-actions

Missing test cases for hangman

Part of #2959.

The following test cases from problem-specifications are not yet implemented in this track:

  • 2419ffe6-16d8-4059-856a-9a101998a418 Initially 9 failures are allowed and no letters are guessed
  • 17c4296d-daab-44dc-8155-37c77caa52c1 After 10 failures the game is over
  • 77c9ae1f-bbc4-4ed4-b67e-08110cbcfc17 Losing with several correct guesses
  • 25101d8d-9874-405b-9825-193a14b69753 Feeding a correct letter removes underscores
  • 8e6bd521-bc9b-458f-9cce-f57f4140c173 Feeding a correct letter twice counts as a failure
  • 5e6971b7-5e5f-49c2-b85d-1dd6aeb53bd5 Guessing a repeated letter reveals all instances
  • a6c69d92-01ef-4b81-b9d9-801131e79bbb Getting all the letters right makes for a win
  • 2dc47994-b434-4a26-b70c-1eebeff77fe4 Winning on the last guess is still a win
  • 52801d56-6963-494b-a901-5736e46ddc12 Guessing after a lose is error
  • 29a874f3-a413-4e1b-9a60-6be018e70b60 Guessing after a win is error

How to help

For detailed instructions on how to fetch configlet and update the tests, please see the "How to do this task" section in the main tracking issue:
👉 Read the instructions here

This issue is managed automatically by the Create Configlet Sync Issues workflow.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions