feat(classic-games): 新增 Mini Pengo 小游戏#773
Conversation
Made-with: Cursor
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 26be63021f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| player.x = 1; | ||
| player.y = 1; | ||
| player.moveDelay = 0.5; |
There was a problem hiding this comment.
Keep respawns from draining all lives
When an enemy reaches the fixed respawn tile (1,1), this reset places the player directly under that enemy while leaving enemies in place; updateEnemies() then rechecks the overlap every animation frame even before the enemy can move again, so the remaining lives are consumed almost instantly. Resetting enemy positions for a life loss or adding a brief invulnerability/clear respawn tile would preserve the intended multi-life behavior.
Useful? React with 👍 / 👎.
Summary
project/classic-games/20260703-2044-pengo.htmlproject/classic-games/文件名;Pengo 未与已使用玩法重复。Validation
resetGame、gameLoop、pushIce、updatePengo、renderPengo。INLINE_JS_PARSE=pass。git diff --check -- project/classic-games/20260703-2044-pengo.html,无空白错误。Audit
OVERALL_EXIT=0AUDIT_DIR=/tmp/git-commit-audit-20260703-204705-98397Remote
mainSHA:f5ba84844397901a59c6cd2c18f930a09c807230codex/classic-game-20260703-2044-pengo26be63021fc8d9625c842a5d893b3cc1dc802e06