Who it is forA developer who wants to reuse or test the deduction logic of a browser-based mystery game without touching the DOM.
The problemThe developer needs to understand how a deduction is judged and confirm the engine behaves correctly before reusing or changing it.
The outcomeThe developer can explain how a pair of clues is judged correct and has a passing engine test run.
What you need first
- A web browser, for the no-Python route
- Python 3.9 or newer, for the launcher route (standard library only)
- git, optional, for cloning the repository
- Node.js, only if you want to run the JavaScript engine test
Steps
- Clone the repository with
git clone https://github.com/momozi1996/awesome-chinese-folk-game.git. - Enter the folder with
cd awesome-chinese-folk-game. - Open src/case_engine/engine.js and read the inferenceCorrect function.
- Run the engine test with
node tests/engine.cjs.
Prompt for your agent
In the momozi1996/awesome-chinese-folk-game repository at <repo-path>, read src/case_engine/engine.js, explain how inferenceCorrect decides a deduction is correct, and run node tests/engine.cjs. Report the number of tests run and passed. Verify that the engine has no DOM or localStorage calls.
Caveat. The README describes the engine test as 2 JavaScript engine tests, so a different count means the repository has changed since the README was written.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for momozi1996/awesome-chinese-folk-game and "Inspect and test the case engine's inference logic"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer