Build a polished, playable browser game: 黑白棋. Make the core loop fun within the first…
- 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
I have built a highly polished, responsive Reversi (黑白棋 / Othello) game complete with all the requested features.
Here's an overview of what was implemented:
- Core Loop & Logic: Built a robust Othello engine that correctly handles placing pieces, flanking in all 8 directions, and turn skipping when no moves are available. It features an automated single-player experience against a heuristically weighted AI opponent.
- Juicy Feedback & Animations:
- Integrated
framer-motionfor hardware-accelerated 60fps 3D spring-physics flips when pieces change color. - Implemented CSS screen-shake when making a move.
- Added particle effects (
canvas-confetti) when winning the game. - Placed a glowing indicator on the most recently played piece.
- Integrated
- Tight Controls: Enabled both quick-tap support (blocking multi-tap zoom with ) and keyboard accessibility (Tab navigation and Space/Enter to place) for precise control across devices.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.