AI blocks programming idea (GPT)

Alex Shi shared this feedback 27 hours ago
Not Enough Votes

I’ve got a cool idea—add AI generation to the game. Picture a special block called the GPT_terminal. You place it on a structure, and it scans every block that touches it (you could even show a progress bar to sell the “scanning” vibe). Once the scan finishes, the terminal gives you two things: a prompt box and a block-picker.

I open the block-picker and choose a button and a lamp. In the prompt box I type:

“Button bnt_1 toggles light_1 on and off.”

I hit TEST. Now I can press the button in-game and watch the lamp flip on and off—works like magic.

Next I drag the script that just got created into the block-picker again and add a potentiometer. In the prompt I write:

“dmr_1 controls brightness of script_1 from min to max.”

TEST again. Scroll the mouse wheel and the lamp dims or brightens in real time.

End result: a lamp you can turn on/off AND dim with a knob, all without writing a single line of “real” code. It’s super user-friendly, feels like programming, but it’s so simple even a kid could do it.

Leave a Comment
 
Attach a file