V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ty29022  ›  全部回复第 2 页 / 共 6 页
回复总数  103
1  2  3  4  5  6  
@Building 你是神
长了 超出了 v 站很多人的阅读能力
很多人会敲一点语法正确的代码就给自己打上程序员,工程师乃至计算机科学家的标签,这是不对的
132 天前
回复了 adekang 创建的主题 求职 佬们,有没有前端实习内推呀,全国可飞~
飞你🐎呢,弱智
蝇营狗苟之徒人生一辈子就两种状态 要么被人骑在头上拉屎 要么骑在别人头上拉屎
150 天前
回复了 VA4 创建的主题 问与答 大家为什么对 manus 恶意这么大
没头没脑的一篇小作文,得出一个结论
160 天前
回复了 vanchKong 创建的主题 生活 观「 中医治好了我」有感
SB 不是蠢,单纯的坏
试试小游戏
```
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!

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

gooogle 搜 rtsp to webrtc
排第一的链接点进去,根据 README 的提示,几行命令就能看到 demo
偏偏帖子还有个 vue 的 tag, 这样很容易让我对 vue 用户产生刻板印象
1  2  3  4  5  6  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5605 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 44ms · UTC 02:40 · PVG 10:40 · LAX 18:40 · JFK 21:40
♥ Do have faith in what you're doing.