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样式进行美化。