GenAI

Coding agent making a game within five minutes

Shoeblack.AI 2025. 4. 15. 07:59

Coding agents change the paradigm of coding. Now almost anyone can develop their own code without much struggles thanks to LLMs. I tested two coding agents: cursor and windsurf. Both are almost same except tiny little differences: the free models available. Cursor provides GPT-4o-mini and cursor-small as free option. These were good enough in code editing and working on simple project. https://www.cursor.com/

 

Cursor - The AI Code Editor

Built to make you extraordinarily productive, Cursor is the best way to code with AI.

www.cursor.com

Windsurf was introduced in deeplearning.ai short course. Free option in Windsurf is Cascade Base. Basically, initial LLM setting was claude, and its powerful. https://windsurf.com/editor

 

Windsurf Editor | Windsurf (formerly Codeium)

Tomorrow's editor, today. Windsurf Editor is the first AI agent-powered IDE that keeps developers in the flow. Available today on Mac, Windows, and Linux.

windsurf.com

Short tutorial showed in deeplearning.ai shour course was highly impressive. Making snake game. The snake was initially small, but it gets longer as the snake consumes the food blocks. Just one line of prompt was enough to make the game. 

Prompt: I want to make snake game with javascript and html.

I showed the game was generated in the coding agent in front of my family. Writing a code was an entry barrier in the past, but not anymore. Anyone who can play with it for some time can actually develop something. As coding gets easier, I believe the imagination will be the greatest asset in the future. Anyone with abundant content will have more opportunity by leveraging AI.

Above is the initial version of the game. And then the game was little bit more improved by changing food into different fruits, and make colored explosion when the snake successfully gets the food. My son wanted to add music while the user play the game. Try coding agents for fun. Mind blowing. Now we are in the world where anyone can code without much effort.

Coding agent is also good for understanding the code. In South Korea, many codes become useless as soon as the developer who wrote the codes quit. Coding agent will help many company a lot to maintain and improve the code even in the worst situation where the developer quit without remaining much description on the code. Below is the short course about Windsurf. 

https://www.deeplearning.ai/short-courses/build-apps-with-windsurfs-ai-coding-agents/

 

Build Apps with Windsurf’s AI Coding Agents

Learn to build, debug, and deploy applications with an Agentic AI-powered integrated development environment.

www.deeplearning.ai