I was bored so i told Chat-GPT 4 to make a game of pong in scratch, below is what it told me to do.
Creating a simple Pong game in Scratch is a great way to learn programming concepts. Here’s a step-by-step guide to help you get started: Set Up the Sprites: Choose a backdrop for your game (you can use a plain color or a custom image). Add a ball sprite (you can use the built-in “Ball” sprite) and position it at the center of the screen. Add two paddle sprites (you can use the built-in “Paddle” sprite) and position them on either side of the screen. Code the Pong Ball: Attach the following code to the ball sprite: when green flag clicked go to x: 0 y: 0 point in direction (pick random (-180) to (180)) forever move 20 steps turn ↻ 1 degree if on edge, bounce Sense the Paddle: To make the ball bounce off the paddles, add the following code to the ball sprite: if <touching color [color of paddle]> then turn Control the Paddles: Use the arrow keys to control the paddles. Attach the following code to each paddle sprite: when green flag clicked forever if <key [arrow key] pressed?> then move [distance] steps Keep Score: Create a variable called “score” to keep track of points. When the ball touches the edge (misses the paddle), increase the score by 1. Display the score on the screen.