V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ty29022  ›  全部回复第 1 页 / 共 5 页
回复总数  94
1  2  3  4  5  
11 天前
回复了 Jaesonal 创建的主题 生活 性格决定命运,以我爸为例
这一家人真别扭
32 天前
回复了 xiejay97 创建的主题 投资 现在讨论股票的明显多很多,似曾相识
10 年足够韭菜长一茬了,每代人都有自己的暴风科技
以前坐火车经常遇到穿着不甚合体西装的小伙子在车厢里演讲
一般是这么开头的: "真诚的友谊来自不断的自由介绍“,巴拉巴拉
UP 要面试的是这种工作吗
33 天前
回复了 minchieh 创建的主题 程序员 让行外人员理解人工智能
那么这套 3D 弹球系统如何解释注意力机制呢, 如何解释当红的 Transfomer 呢

我觉得只要不强求人们能理解训练过程,像反向传播,梯度下降这些数学工具
单单就神经网络的概念来说,初中生也能理解,没必须造一套似是而非的概念

个人认为负责任的科普首先要告诉人们:人工智能≠神经网络
一种观点:小程序的开发体验跟屎一样臭不可闻,用 uniapp 也只是从宾汉流体变成了牛顿流体,不改臭的本质
39 天前
回复了 gotoschool 创建的主题 程序员 兄弟们, nextjs 和 nuxtjs 部署的区别
@bli22ard 你是不是就是同事 A 呀
sha1 是不是哈希算法, 哈希算法是不是就有碰撞概率, 在说什么啊?
@Building 你是神
长了 超出了 v 站很多人的阅读能力
很多人会敲一点语法正确的代码就给自己打上程序员,工程师乃至计算机科学家的标签,这是不对的
60 天前
回复了 adekang 创建的主题 求职 佬们,有没有前端实习内推呀,全国可飞~
飞你🐎呢,弱智
蝇营狗苟之徒人生一辈子就两种状态 要么被人骑在头上拉屎 要么骑在别人头上拉屎
77 天前
回复了 VA4 创建的主题 问与答 大家为什么对 manus 恶意这么大
没头没脑的一篇小作文,得出一个结论
87 天前
回复了 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!

```
109 天前
回复了 AkAJOIN 创建的主题 问与答 如何将 PDF 格式的试卷变成线上题库?
轻描淡写的语气像极了一种叫“老板”的生物
1  2  3  4  5  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2666 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 09:41 · PVG 17:41 · LAX 02:41 · JFK 05:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.