"Code Golf" is a challenge to write a program using the least number of code blocks. (You can right-click in the code editor to see how many blocks you have used). This "Code Golf" challenge is to draw a 10x8 grid using Pen with size 40 squares. ie. total size is 400x320. Rules: You may NOT use the "Stamp" block and you may not alter or delete any of the 6 starter blocks. Subtract the 6 starter blocks when calculating how many blocks your project uses. This may be an easier code golf challenge but I will make some code golf challenge projects with more complex grid patterns if Scratchers show interest. You can comment on this project with a link to your code-golfed project and/or make it a remix.
If it doesn't start, click the green flag again. Thanks to @Lemnisc8 for the original project 4 Blocks: https://scratch.mit.edu/projects/736497454 My idea here was to do the same thing without the hacked loop block. I came up with two versions, each with its pros and cons. 1. Using (round(timer) Pros: Works perfectly. Cons: Requires an extra block, and may require the user to click the green flag twice. 2. Using (current second) Pros: Only requires 4 blocks. Cons: Only works as intended if the project is run when the current second is 0.