exercism / exercism/java

[configlet] hangman: missing test cases

未关闭
#3,131 1 条评论 0 个 reaction 已指派 1 人 已被 @kahgoh 认领 在 GitHub 查看
x:knowledge/elementary x:module/practice-exercise
主要语言
Java
星标
834
派生
779
平均合并
1 天 1 小时
30 天内合并 PR
3

描述

## Missing test cases for `hangman`

Part of #2959.

The following test cases from [problem-specifications](https://github.com/exercism/problem-specifications/tree/main/exercises/hangman) 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](https://github.com/exercism/java/issues/2959)**

_This issue is managed automatically by the [Create Configlet Sync Issues](https://github.com/exercism/java/actions/workflows/create-configlet-sync-issues.yml) workflow._

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。