✳ClaudeModsClaude Code 模组目录
☰
● 0 人在线 · 浏览 0 次
+ 提交作品
← 返回作品集
Reddit 帖子 · 游戏与娱乐 / 其他

Reporails Arcade:扫雷插件 Minefield

作者在等构建测试的间隙做了个扫雷插件,通过 /plugin marketplace 安装后在 Claude Code 里玩,需要 2.1.287+ 版本。

ccleverhoods@cleverhoods
Reporails Arcade:扫雷插件 Minefield图片1
已翻译

关于这个 mod

作者趁 Reporails 0.6.0 发布前的构建与测试等待时间,做了个扫雷游戏插件 minefield。安装方式为添加 reporails/arcade 插件市场并安装 minefield@reporails-arcade,触发命令是 /mines,需要 Claude Code 2.1.287+。开发过程:先写下游戏规则、棋盘绘制、表情、31 个测试和 README,测试套件通过后,让 Claude 在 tmux 里真实驱动一个 Claude Code 会话并读回屏幕以检查自身 UI,由此发现测试未覆盖的四个 bug(按键未送入窗格、失效热键、被挤压的表情、全屏外无法用鼠标)。外观方面在作者终端字体下渲染截图,先选定方块风格再发布。作者自己则逐版本试玩、反馈视觉问题并削减范围(较大的关卡和种子棋盘被砍掉,定位是构建间隙打发几分钟的小游戏)。注意:插件只挂钩自身内容(/mines 命令、窗格、棋盘、会话启动),不触碰提示词或工具调用,安装前可用 claude plugin validate 检查。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

/plugin marketplace add reporails/arcade
/plugin install minefield@reporails-arcade
原文 / README

I'm currently neck deep in getting the Reporails 0.6.0 release done and since the test and build procedures tend to take a while I had some idle time inbetween to test out mods. after careful consideration and without any impulse, nor any disdain for recognizing the minutes that I spend by staring at the session to move, obviously I built a minesweeper /plugin marketplace add reporails/arcade /plugin install minefield@reporails-arcade then /mines . needs 2.1.287+ how I built it with Claude Code: I wrote down the game rules, the board drawing, the face, 31 tests and the README the test kit kept passing, so Claude drove a real Claude Code session in tmux and read the screen back to check its own UI. that's how it found four bugs the tests missed (keys not reaching the pane, dead hotkeys, a squeezed face, no mouse outside fullscreen) for the look, it rendered screenshots in my terminal font so I could pick the tile style before anything shipped Then my part: playing every build, saying what looked wrong, and cutting scope (the bigger levels and seeded boards went, it's a game for the few minutes a build takes) Have fun, mods are cool Note: it only hooks its own stuff (its /mines command, its pane, its board, session start), nothing on your prompts or tool calls. claude plugin validate shows that before you install. The left pane is from my own progressive disclosure event bus system. it says it's in my best interest not to leave the agent alone yet, hence minesweeper. submitted by /u/cleverhoods [link] [comments]

查看原始来源 ↗

更多类似作品