Discuss Scratch

pmpff2012
Scratcher
1 post

Basic Output simulating for example ancient Vt100 with 132(cols)x24(lines) or MS-DOS 80(cols)x25(lines)

Hello,

My kid is a 10year old and now he's starting at school some works around math.
His first math program in scratch was to make any given number exponential.

Now he must do a work around “sieve of eratosthenes”, so i went to help him do it in Scratch.
I had it done in lists on the output area, but the output is awful, not what was under the sieve



When “sieve of eratosthenes” should be something like this




Wikipedia full explanation of the sieve


I could do it with scratch as is, but the resulting code would be higher than the sieve itself by 1000% !

IMHO kids with this kind of extension would have a shortcut to working and outputting math and others subjects that can be coded in Scratch the simplest way possible, because they would not have to program sprites behavior.




Is there any extensions that do what the title of the thread says "Basic Output simulating for example ancient Vt100 with 132(cols)x24(lines) or MSDOS 80(cols)x25(lines)"

Block
“CLEAR SCREEN”

Block
“PRINT AT (column), (line) COLOR (color) $content”


Link to my sieve of eratosthenes scratch project using lists


Thanks for your attention.

Kind regards

Last edited by pmpff2012 (Nov. 4, 2022 11:50:45)

Powered by DjangoBB