Only 1 Prompt is Needed to Have AI Write a Snake Game for You
👉 Project Website: https://www.python-office.com/ 👈
👉 Open Source Project Discussion Group 👈
Large models may not necessarily replace humans, but they will soon replace programmers.
Hello everyone, this is Programmer Wan Feng, currently all in on AI Programming Practice. Today I'm going to show you how simple it is to use a large model to complete a task that only a senior programmer could do: writing a snake game.
Implementation Steps
First, download the MarsCode AI plugin in VSCode.
Image
Then, enter the following command in the plugin:
Image
Finally, just run this code and you can play the snake game written by AI.
Image
About MarsCode
The free AI plugin used in this article is called Doubao MarsCode Programming Assistant. It's an AI programming assistant under Doubao, providing AI functions represented by intelligent code completion. It supports mainstream programming languages and IDEs, providing suggestions for writing single lines of code or entire functions during development. In addition, it supports features like code explanation, unit test generation, and problem fixing, improving development efficiency and quality. For more information, please refer to the Doubao MarsCode Programming Assistant documentation: https://docs.marscode.cn/docs/what-is-marscode-extension.
Final Words
Since GPT-like products became popular in 2023, whether AI is useful is no longer a question. How to learn AI and how to use AI have become issues that many people focus on.
Standing at the end of 2024, as programmers, we should think more about what AI has already done better than humans, and what AI cannot replace or cannot replace in the short term?
Please write your answers in the comments section. Let's discuss together~
Programmer Wan Feng focuses on AI programming training. Beginners can get started with AI projects after watching his tutorial "30 Lectures · AI Programming Training Camp" that he collaborated on with Turing Community.
🎓 AI 编程实战课程
想系统学习 AI 编程?程序员晚枫的 AI 编程实战课 帮你从零上手!
- 👉 课程报名:点击这里报名,前3讲免费试听
- 👉 免费试看:B站免费试看前3讲,先看看适不适合自己


