The 10 lines of code initiative is a challenge to write code with only ten lines of code to encourage efficient coding, whilst still having fun - the choice of language is up to you. The video from http://www.amazingict.co.uk outlines the idea:
Here are a three simple Scratch projects only using 10 lines of code - very happy for someone to take and improve them, especially if you comment and share your results. Click on the Green Flags below to see them in action.
The code is available at https://scratch.mit.edu/projects/111834277/
The code is available at https://scratch.mit.edu/projects/110952076/
The code is available at https://scratch.mit.edu/projects/111835204/
All views are those of the author and should not be seen as the views of any organisation the author is associated with.