AI个人学习
和实操指南

Claude提示库:写一个HTML键盘敲击游戏

Cosmic keystrokes 原文

 

Write me a fully complete web app as a single HTML file. The app should contain a simple side-scrolling game where I use WASD to move around. When moving around the world, occasionally the character/sprite will encounter words. When a word is encountered, the player must correctly type the word as fast as possible.The faster the word is successfully typed, the more point the player gets. We should have a counter in the top-right to keep track of points. Words should be random and highly variable to keep the game interesting.

You should make the website very aesthetic and use Tailwind.

 

 

Cosmic keystrokes 译文

 

为我打造一个单一HTML文件的完整网页应用。该应用应包括一个简易的侧滑游戏,其中我可以通过WASD键进行移动。在游戏世界中探索时,角色或动画角色偶尔会遇到单词。碰到单词时,玩家需要尽快准确地进行输入。输入速度越快,就能获得更多分数。右上角应设有记分器以跟踪玩家得分。为了保持游戏的趣味性和新鲜感,单词应随机出现且有高度变化。

网站设计需要注重美学,要使用Tailwind样式进行美化。

AI轻松学

普通人的AI入门指南

帮助你以低成本、零基础学会如何利用AI工具。AI就像办公软件一样,是每个人的必备技能。 掌握AI会让你在求职中占据优势,在未来的工作和学习中事半功倍。

查看详情>
未经允许不得转载:首席AI分享圈 » Claude提示库:写一个HTML键盘敲击游戏
分享到

首席AI分享圈

首席AI分享圈专注于人工智能学习,提供全面的AI学习内容、AI工具和实操指导。我们的目标是通过高质量的内容和实践经验分享,帮助用户掌握AI技术,一起挖掘AI的无限潜能。无论您是AI初学者还是资深专家,这里都是您获取知识、提升技能、实现创新的理想之地。

联系我们