V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ty29022  ›  全部回复第 2 页 / 共 6 页
回复总数  110
1  2  3  4  5  6  
以前坐火车经常遇到穿着不甚合体西装的小伙子在车厢里演讲
一般是这么开头的: "真诚的友谊来自不断的自由介绍“,巴拉巴拉
UP 要面试的是这种工作吗
2025 年 8 月 25 日
回复了 TieYu 创建的主题 程序员 让行外人员理解人工智能
那么这套 3D 弹球系统如何解释注意力机制呢, 如何解释当红的 Transfomer 呢

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

个人认为负责任的科普首先要告诉人们:人工智能≠神经网络
2025 年 8 月 20 日
回复了 wang5635099 创建的主题 问与答 软件工程专业毕设,写微信小程序好吗?
一种观点:小程序的开发体验跟屎一样臭不可闻,用 uniapp 也只是从宾汉流体变成了牛顿流体,不改臭的本质
2025 年 8 月 19 日
回复了 gotoschool 创建的主题 程序员 兄弟们, nextjs 和 nuxtjs 部署的区别
2025 年 8 月 8 日
回复了 honkew 创建的主题 程序员 你们相信这是十几年的程序员写的代码吗?!
@bli22ard 你是不是就是同事 A 呀
sha1 是不是哈希算法, 哈希算法是不是就有碰撞概率, 在说什么啊?
2025 年 8 月 7 日
回复了 worker201 创建的主题 生活 家里人在拼多多给小孩买的零食掺着老鼠药,能索赔吗
@Building 你是神
2025 年 8 月 5 日
回复了 hh54188 创建的主题 职场话题 你知道现在 IT 行业很差,我用数字告诉你有多差
长了 超出了 v 站很多人的阅读能力
很多人会敲一点语法正确的代码就给自己打上程序员,工程师乃至计算机科学家的标签,这是不对的
2025 年 7 月 29 日
回复了 adekang 创建的主题 求职 佬们,有没有前端实习内推呀,全国可飞~
飞你🐎呢,弱智
蝇营狗苟之徒人生一辈子就两种状态 要么被人骑在头上拉屎 要么骑在别人头上拉屎
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 的实现比较一下 很直观
1  2  3  4  5  6  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4514 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 07:17 · PVG 15:17 · LAX 23:17 · JFK 02:17
♥ Do have faith in what you're doing.