HomeAI News
Let the code novice become a programming master! Teach you a trick "I love to write code"
64

Let the code novice become a programming master! Teach you a trick "I love to write code"

Russellplan-icon
Russell
May 10th, 2023
View OriginalTranslated by Google
Are you new to programming? Feel at a loss every time you see a bunch of cumbersome and complicated codes? Don't worry, the magical command "I love writing code" will bring you the magic of programming! Even if you are a code novice, you can easily develop your own mini games or other programs.

With the development of GPT (smart text generator) technology, more and more magical functions have been discovered. Automatic programming is one of them. As long as you ask questions or send requirements to GPT, whether it is developing a small game or solving a specific problem, it can produce a program that can be run directly for you.

As a beginner, you can ask simple programming questions, how to write a simple game, how to use loops, etc. For advanced to intermediate and advanced players, you can use this command to solve difficult problems encountered in actual projects for you and improve work efficiency.

"Knocking wooden fish" game example

You may still be wondering about the actual effect of this command. Next, I will show you how to use the "I love to write code" command to develop a "knocking wooden fish" mini-game.

First, click the "I love writing code" command, and describe the requirements to HayoAI: "Help me write a code for the "Knocking Wooden Fish" game in html." It will ask for some details, explain the requirements, and the code will be written soon.

Let's run it to see the effect.

The rules are not explained clearly, it seems to be playing a very new game, and re-tell the rules with AI. It will be rewritten based on the original according to your requirements.

Try the effect again.

It can be seen that the basic prototypes are all there, and after 2 or 3 adjustments, they will not be released one by one, so that everyone can see the final effect.

  • html online running tool: https://www.runoob.com/runcode
  • For the code generated by AI, the image address may be invalid and needs to be replaced manually.

The emergence of GPT has indeed lowered the threshold for beginners to get in touch with programming. You can also try to make some other small games or functions. The portal is here. Welcome to leave a message in the comment area to share.

i love to write code

Comments

no dataCoffee time! Feel free to comment