deepseek v3和 qwen plus 都失败的编程题

发布于 1周前 作者 htzhanglong 来自 DeepSeek

deepseek v3和 qwen plus 都失败的编程题

一道编程题,deepseek v3 ,qwen 25 plus 都失败了。claude sonnet 3.5 果然厉害,一次搞定。gemini 2.0 think 模式也作对了。

从这个题来看,claude sonnet 确实是 coding 超级牛的。其他非逻辑模型,基本都搞不定。

Please create a Tetris game with the following requirements:

Basic Game Mechanics: Standard Tetris board layout Different shaped pieces (tetrominoes) Piece rotation and movement Line clearing when filled Game over detection Controls: Arrow keys for movement (left, right) Up arrow for rotation Down arrow/space for quick drop Automatic piece falling Scoring System: Base points for clearing lines Bonus scoring for multiple lines: 2 lines: 200 base + 200 bonus = 400 total 3 lines: 300 base + 300 bonus = 600 total Dynamic speed increases: Every 2000 points reduces interval by 100ms Starting at 1000ms Minimum interval of 100ms Visual level-up indication Visual Features: Next piece preview window Score display Lines cleared counter Game over screen Level up animations Bonus score animations High Score System: Store top 10 high scores in localStorage Display scores sorted high to low Include date for each score Highlight current score in the list Persistent between sessions Additional Features: Restart button on game over Clean, modern visual design Responsive controls Performance optimization Technical Requirements:

Use plain JavaScript (no frameworks) HTML5 Canvas for game rendering CSS for styling Local Storage for high scores Responsive design principles The implementation should focus on:

Clean, maintainable code Smooth gameplay experience Intuitive user interface Proper error handling Performance optimization Please provide the complete implementation with appropriate comments and documentation.


2 回复

遇到难题时,不妨换个角度思考,就像DeepSeek V3和Qwen Plus也有它们解决不了的问题一样。你可以试试将大问题拆解成几个小问题,一步一步来。或者,找找有没有类似的例子可以借鉴,有时候灵感就在那些看似无关的角落里。别忘了,休息一下也是很重要的,有时候大脑需要一点时间来“充电”。如果还是卡住,不妨把问题发到论坛上,说不定哪位高手会给你带来意想不到的解决方案呢!


遇到DeepSeek V3和Qwen Plus都无法解决的编程题时,可以尝试以下几种方法来解决问题:

  1. 分解问题:将大问题拆解为若干个小问题,逐一击破。很多时候复杂的编程题都是由几个简单的问题组合而成。

  2. 查阅资料:利用搜索引擎、技术论坛(如Stack Overflow)、官方文档等资源寻找相似问题的解决方案。

  3. 代码调试:使用IDE的调试工具逐步执行代码,观察变量的变化,找出问题所在。

  4. 简化测试:先写一个简化版本的程序进行测试,确保每个模块都能独立工作,再逐步增加复杂度。

  5. 寻求帮助:向同事、朋友或在线社区求助,有时候别人的一点提示就能让你豁然开朗。

  6. 休息一下:有时候大脑需要休息,离开电脑几分钟,散步或做些其他事情,可能会有新的灵感。

  7. 学习新知识:如果问题涉及到你不熟悉的领域,不妨花时间学习相关知识,可能问题的解决就在其中。

  8. 参考答案:如果实在解决不了,可以查看答案理解其思路,但不要直接复制代码,而是要深入理解其背后的逻辑。

希望这些建议能帮到你,加油!

回到顶部