Build a polished, playable browser game:…
- User
Build a polished, playable browser game: 能引导学生了解如何进行校园学生身份证、联系电话及住址等信息的脱敏过程,支持学生自己亲手编写脱敏规则. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
- Assistant
Built the game in
src/App.tsxwith supporting global styles insrc/index.css.What’s included:
- Start screen, pause state, game-over state, and instant restart
- A rule-writing editor so students can type anonymization rules for 身份证号、联系电话、住址
- Live masked preview, score/combo system, and local high-score table saved in browser storage
- Keyboard controls and touch-friendly buttons
- Canvas-driven motion, particle bursts, screen shake, scan effects, and animated feedback
- Responsive layout that works on desktop and mobile
Verification:
- Production build passes with
npm run build - I did not run an interactive browser playtest in this environment, so smooth 60fps and touch feel are implemented in code but not manually verified here
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.