jackfrued / jackfrued/Python-100-Days

9day 综合案例一 问题

Open
#334 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
187k
Forks
55.8k
PR merge metrics
No merged PRs in 30d

Description

Fighter.alive 的 return 值是 True/False, 在检查 monster 是否存活的 if 结构中不应该用
if monster.alive > 0 吧?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Day 9 comprehensive example referenced in the title and locate the check involving Fighter.alive and monster survival. Confirm the value type and the intended conditional behavior by running the example; done means the survival check matches the reported boolean return value.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.