Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[configlet] hangman: missing test cases

未关闭
#3,131 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@kahgoh 已经在做这个了。

开始于 2026年6月25日。

评估

这个 Issue 还没有评估数据。

描述

x:knowledge/elementary x:module/practice-exercise

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.

主要语言
Java
星标
836
派生
779
平均合并
8 小时 28 分钟
30 天内合并 PR
4

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

exercism/java 的其他 Issue

查看 exercism/java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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