Text功能丰富的国际象棋游戏
Text
功能丰富的国际象棋游戏
用 HTML、CSS 和 JavaScript 实现包含规则校验、棋钟、PGN 记谱、分析与 AI 对手的国际象棋游戏。
Prompt
Develop a feature-rich chess game using HTML5, CSS3, and JavaScript. Create a realistic chessboard with proper piece rendering. Implement standard chess rules with move validation. Add move highlighting and piece movement animation. Include game clock with multiple time control options. Implement notation recording with PGN export. Add game analysis with move evaluation. Include AI opponent with adjustable difficulty levels. Support online play with WebRTC or WebSocket. Add opening book and common patterns recognition. Implement tournament mode with brackets and scoring.
How to use
适合生成棋类网页原型,可先实现基础规则,再逐步加入在线对战和锦标赛功能。