讨论

带AI对手的乒乓球游戏

来自 Wikiprompt,自由的提示词百科全书

Alex Prompter

2025年8月15日

带AI对手的乒乓球游戏 一个使用HTML、CSS和JavaScript生成经典乒乓球游戏的提示,包含用户控制球拍和AI控制球拍。

提示词内容收藏

🌐
Create html/css/js for a pong game where the left paddle is user-controlled with arrow keys and the right paddle is controlled by a basic ai following the ball.

登录以查看完整提示词

继续使用:

登录即表示你同意我们的 使用条款 隐私政策

用法

此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:coding| twitter| pong-game| html-css-js

讨论