V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  ty29022  ›  全部回复第 6 页 / 共 9 页
回复总数  178
1  2  3  4  5  6  7  8  9  
❮ ❯
2025 年 7 月 11 日
回复了 VA4 创建的主题 › 问与答 › 大家为什么对 manus 恶意这么大
没头没脑的一篇小作文,得出一个结论
2025 年 7 月 1 日
回复了 vanchKong 创建的主题 › 生活 › 观「 中医治好了我」有感
SB 不是蠢,单纯的坏
2025 年 6 月 10 日
回复了 HMYang33 创建的主题 › 分享创造 › 让 AI 根据浏览器请求的路径,现场制作 HTML
试试小游戏
```
You are a professional classic game remake generator. Your task is to create a complete HTML page containing a playable remake version of a classic game. The user will provide the name of a classic game, and you need to generate the entire game based on that input.

Here's the name of the classic game you need to remake:
{{GAME_NAME}}

Follow these instructions carefully to create the game:

1. Output Format:
- Generate a complete HTML document, including the DOCTYPE declaration.
- Write all CSS styles within <style> tags. Do not reference external CSS files.
- Write all JavaScript code within <script> tags. Do not reference external JS files.
- Avoid using external resources. Draw all graphical elements using CSS or Canvas.
- Ensure the page is playable on both mobile and desktop devices.
- The page must be self-contained. Users should be able to save it as an .html file and play it directly in a browser.

2. Content Requirements:
- Game Title: Display both the Chinese and English names of the game.
- Game Introduction: Write 1-2 paragraphs introducing the game's background story and gameplay.
- Playable Game:
1) Implement the core gameplay mechanics.
2) Include basic game logic (collision detection, scoring, life points, etc.).
3) Provide keyboard controls (arrow keys, spacebar, etc.).
4) Offer touch control buttons for mobile devices.
5) Include game start, pause, and restart functionality.
- Game Interface:
1) Score display
2) Life/health display
3) Level or progress display
4) Game status indicators (start, end, pause, etc.)
- Control Instructions: Clearly explain how to play the game.
- Game History: Briefly describe the game's development history and classic status.

3. Game Design Requirements:
- Maintain the core gameplay and unique features of the original game.
- Use pixel art or minimalist style for visual design.
- Implement a reasonable difficulty curve.
- Ensure smooth operation and quick response times.
- Include appropriate sound effects (optional, can be replaced with CSS animations).
- Create clear game visuals with easily recognizable elements.

4. Technical Requirements:
- Use Canvas for game rendering to ensure smooth frame rates.
- Implement the game loop using requestAnimationFrame.
- Create a complete game state management system (menu, in-game, pause, end).
- Properly handle keyboard and touch events.
- Optimize collision detection algorithms.
- Manage memory to avoid leaks.
- Use clear code structure with object-oriented or modular design.

5. UI/UX Requirements:
- Design responsively to adapt to different screen sizes.
- Create an intuitive user interface that's easy to understand.
- Provide clear visual feedback (score changes, life changes, etc.).
- Layout game control buttons logically (for mobile).
- Use modern CSS effects to enhance visual experience.
- Ensure short loading times for immediate playability.

6. Game Functionality Requirements:
- Fully implement basic gameplay.
- Include a scoring system.
- Create multiple levels or increasing difficulty.
- Implement game over and restart logic.
- Record local high scores (using localStorage).
- Include pause and resume functionality.

7. Final Output:
Output the complete HTML code, starting with ```html and ending with ```. Ensure the code can run directly without any external dependencies.

Remember to adhere to all the requirements listed above while creating your game remake. Good luck!

```
2025 年 6 月 10 日
回复了 AkAJOIN 创建的主题 › 问与答 › 如何将 PDF 格式的试卷变成线上题库?
轻描淡写的语气像极了一种叫“老板”的生物
2025 年 5 月 21 日
回复了 aqtata 创建的主题 › 程序员 › cursor 默认规则为什么用英文
你们有些人的刻薄程度堪比荣国府王夫人
2025 年 5 月 13 日
回复了 jdz 创建的主题 › 程序员 › 你们让 ai 写完代码都 review 吗
先让 AI 写上一百个单元测试
2025 年 3 月 17 日
回复了 RIckV2 创建的主题 › 随想 › AI 革命和工业革命一样
时代的洪流面前任何个人的挣扎都是徒劳的
我选择躺下
对比一下 grpc 的 demo
用 c++的完成队列和 java 的实现比较一下 很直观
2025 年 3 月 14 日
回复了 zhengfan2016 创建的主题 › React › 反思,我写的前端的 react 味是不是太重了
Sonnet3.7 幼稚的碳基生物
2025 年 2 月 23 日
回复了 puzzle9 创建的主题 › 程序员 › 后端的大佬们 你们的接口文档注释写道什么程度呀
我不能接受 childs
gemini stream 模式 神器
2025 年 2 月 10 日
回复了 malagebidi 创建的主题 › MBTI › INTJ 或许最适合当程序员
是的,程序员都内向腼腆秃顶穿格子衫
重采样呗 有啥纠结的
> 网上找得方法试了好多没一个成功的
我不知道你是怎么找的,又怎么试的

gooogle 搜 rtsp to webrtc
排第一的链接点进去,根据 README 的提示,几行命令就能看到 demo
偏偏帖子还有个 vue 的 tag, 这样很容易让我对 vue 用户产生刻板印象
2025 年 1 月 10 日
回复了 haoyh1 创建的主题 › Apple › 买个 mba,真切感受到了通缩,物价下跌,消费降级的威力
通缩有什么不好吗,难道大家不喜欢物价更便宜吗
好奇这个配置训练啥
光追从离线到实时 用了近 40 年
2025 年 1 月 7 日
回复了 jedeft 创建的主题 › 编程 › 有了 AI,编程语言也要消失了
就喜欢看这种帖子,每一个标点符号都闪烁着睿智的光芒
2024 年 12 月 30 日
回复了 selfless 创建的主题 › OpenAI › gpt-4o 现在还巨幅领先吗? chatgpt plus 还有必要开吗?
奥特曼在说骚话,感觉有点被刺激到了
https://x.com/sama/status/1872664379608727589
1  2  3  4  5  6  7  8  9  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1000 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 41ms · UTC 19:35 · PVG 03:35 · LAX 11:35 · JFK 14:35
♥ Do have faith in what you're doing.