Talk

Build Tetris with GPT-4 using p5.js

From Wikiprompt, the free prompt encyclopedia

Kris Kashtanova

May 12, 2023

Build Tetris with GPT-4 using p5.js A step-by-step guide to creating a Tetris game with GPT-4, including prompts for initial code generation and iterative improvements like line clearing and movement.

Related media

Prompt ContentSave

🌐
write p5.js code for Tetris where you control it with arrows. I want every Tetris figure to be of rainbow colors, it's okay if it's several responses, I'll write continue after each. Give me the code. add clearing lines tetrimino's aren't moving, add movement, remember to clear lines if I press a...

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:coding| twitter| tetris| gpt-4

Talk