ScratchData LogoScratchData
Back to grandpasp's profile

1 line of code bounce

GRgrandpasp•Created July 2, 2023
1 line of code bounce
1
1
8 views
View on Scratch

Instructions

Just click the green flag and watch the ball bounce off the walls. (You can adjust the X vs Y speeds.)

Description

For readability, I usually write code with a lot of intermediate variables and steps. Today I decided to take a large block of code and squeeze it into one line. (I prefer the way I usually do it!) I've included the original code.

Project Details

Project ID871389856
CreatedJuly 2, 2023
Last ModifiedOctober 11, 2023
SharedJuly 2, 2023
Visibilityvisible
CommentsAllowed