How far can we push ScratchJr?
Ғылым және технология
What do you think I should try programming in ScratchJr next? Should I make a whole new programming language dedicated to it? You tell me in the down below! I read all the comments! Make sure to like and subscribe, as both of those help out the channel a lot as well!
Discord: / discord
Code: github.com/enchantedstew/scra...
Hey guys. It's been a while. A long while. I like making the second paragraph a lot more down to earth for the people who actually care, so I can explain why this video took so long to make. I wanted to make a longer video, and I've had three ideas so far for a longer video. One about ISP, one about Word Hunt, and finally one about ScratchJr. I have a full script and story board for the ISP video, but it foundered and died in my interest. The programming side of the Word Hunt video was fully completed, but I never succeeded in making a script. I worked on this for the past 6 months, and recently started really putting my free time towards it so that it could finally get out. You may be asking, "why did it take you approximately 1 month per minute of video?" Well, I'm busy. I had marching band, I'm taking AP Chem, AP Stat, and planning dual enrollment, and do much more. I'm also a master procrastinator. The main reason is the latter reason. So thank you for waiting with me, thank you for bearing with my claims of a video being right around the corner, and thank you for watching my videos. It truly does mean a lot to me.
0:00 Introduction
1:02 Brainstorming
3:25 Python Code
5:30 Squares Code
6:44 Conclusion
#codingchallenge #scratch #scratchjr
Пікірлер: 517
Scratch: useful if you don't understand object-oriented code. Scratch Junior: useful if you don't understand object permanence.
@levivanveen6568
Жыл бұрын
It is a top tier comment
@maybej
Жыл бұрын
This comment is so tuperious rofl
@stankyleg7094
Жыл бұрын
i jacked my shit to ur comment
@Sethilliano
Жыл бұрын
Lmaoo
@beekeeper9540
Жыл бұрын
I don't even know what object oriented code so yeah you're probably right
This video was a truly influential moment in computer science history.
@oamioxmocliox8082
Жыл бұрын
;)
@obamafootfungus1620
Жыл бұрын
Gah damm
@smileyfacegaming1076
Жыл бұрын
98
@TheNazzerDawk
Жыл бұрын
Truly one of the moments in computer science history.
@alex.g7317
Жыл бұрын
Not really
When she was 6 my kid came home from school furious that they’d tried to teach her coding with scratch jr, which - in her words - “is for babies and doesn’t even work”. I can’t wait to show her this.
@QuantumScratcher
Жыл бұрын
Well she _was_ in the age range, maybe she was just intelligent
@spiderchopproductions8172
Жыл бұрын
@@QuantumScratcher she’s been writing scratch programs since she was 5, moved on to python at 7. Which is a problem mainly because I have to debug her code and turns out children who are still learning to spell are awful at choosing variable names.
@MrSprinkles
Жыл бұрын
@@spiderchopproductions8172 It’s awesome that she has so much motivation to try out “real” languages at such a young age! Every 7 year old I’ve ever known would immediately lose interest before even setting their eyes on a single line of code.
@archusrtm6325
Жыл бұрын
Scratch (real scratch) teaches programming logic excellently
@lol-wc3ld
Жыл бұрын
@@spiderchopproductions8172 i would love to read some of her source code
At this point I'm convinced you could make a programming language out of literally anything
@OhioStudiosOG
Жыл бұрын
if you gave them enough time they would make a machine that plays doom out of rocks and 4 hydraulics ☠☠
@indekscard
Жыл бұрын
@@OhioStudiosOG play doom on a craft mac n cheese box
@FuzzyJeffTheory
Жыл бұрын
Not regex. It’s impossible to match arbitrarily nested HTML
@OhioStudiosOG
Жыл бұрын
@@indekscard bruh Im working on a calculator rn and idek how to convert .cs to .exe so how tf am i gonna do that shit
@BobsRockets
Жыл бұрын
@@OhioStudiosOG go to file location, right click on file, click rename, hit backspace 3 times the type .exe and hit enter. Done.
I don't want to do this all by hand! *proceeds to write an entire python library (which probably took way more time than doing it by hand) to do it automatically* god i love programmers so much 😂
@EnchantedStew
Жыл бұрын
Why spend 1 hour doing something when you can spend 10 automating it?
@it.sy.
Жыл бұрын
its procrastination without the “doing nothing” part
@witha1
Жыл бұрын
but if you ever need to do it again you won't have to
@Tiagocf2
Жыл бұрын
@@EnchantedStew exactly 😂👌
@Mrcake0103
Жыл бұрын
One hour of mind-numbing boredom or 10 hours of something that might actually be fun to solve.
His explanation of the code reminds me of that one missile explanation one: "The missile know where it is, by knowing where it isn't. It does this by subjecting where it isn't, from where it is. If the missile isn't where it says it isn't, it subjects the value of where it is from where it isn't, and gets the value of where it is. "
Awesome! I was curious if Scratch Jr was turning complete. Thanks for making this!
@EnchantedStew
Жыл бұрын
LOL. Never thought I would hear someone else share that same question with me. Somewhat refreshing after hearing everyone tell me I'm crazy for the past few months.
@nhantnt
Жыл бұрын
@@EnchantedStew imagine
@nhantnt
Жыл бұрын
Minercaft Redstone is indeed Turing conplete, btw.
@vedal1358
Жыл бұрын
@@nhantnt Fucking duh it's turing complete lmao. People've made actual computers in pure redstone.
@janisir4529
Жыл бұрын
@@nhantnt Really, that's a revelation how exactly? The first thing you learn after hooking up a pressure plate to a door is logical gates...
Since Scratch JR is turing complete it would be interesting to see if you could train a neural network (or lets be honest more realistically a perceptron). You could try something simple like the XOR problem.
@twinkytwinklier4047
Жыл бұрын
that would take a while lol
@cubicinfinity2
Жыл бұрын
Don't you need more than one layer to solve XOR? So that would be a multi layer perceptron.
@sexy_koala_juice
Жыл бұрын
@@cubicinfinity2 Good catch, i completely forgot that it would technically need a multi-layer perceptron because it's not linearly separable. I tend to go to the XOR problem as it's generally the "Hello World" equivalent for basic neural nets
@kabobawsome
Жыл бұрын
It's not really Turing Complete as much as you can bully it into emulating a Turning Complete machine lmao
@sexy_koala_juice
Жыл бұрын
@@kabobawsome If it can emulate a Turing Machine it is therefore, by the very definition of a Turing Machine, Turing Complete.
Now all we need to do is use this to make Conway’s game of life, then make Conway’s game of life within that, use that to make Scratch Jr, then run doom on it.
@moemoethecoolest
Жыл бұрын
Then play bad apple on doom.
The intention of Scratch Jr: Makes it easier for kids to code. Scratch Jr: Makes it harder for everyone.
Periodically changing your title and thumbnail (specifically after 24 hours and 72 hours after initial release of a video) to more broad titles and thumbnails will greatly boost your chances of getting picked up by the algorithm. Veratasium and EMPLemon made some good videos about it. MatPat also has a few snippets of videos where he talks about how to manipulate the algorithm to gain more publicity. Good luck on your journey!
@EnchantedStew
Жыл бұрын
Thanks for the tip! This video is doing pretty well for the channel, so I think I'll leave it how it is for the moment, but if I get a great idea for the thumbnail, I'll try changing it out!
Wow, this is truly amazing! I thought that scratch jr. could never work. You did an AMAZING job!
This need more recognition, I would definitely watch more of these kind of videos. Keep up the good work!!
I cannot code, but as a kid I used scratch to make vector art and this is incredibly impressive especially on the jr. version
This is Amazing, I love this, good work! It’s funny that you brought up power point at the start of the video, a few years ago there was a video on a guy who showed that power point is also Turing complete.
While it's probably a cake walk compared to this, I think a neat project would be to build a code compiler in (normal) Scratch, so that you can copy and past in Dooms' code.
@armchairrocketscientist4934
Жыл бұрын
Some people have really pushed 3D is scratch, so you don't even need to make some kind of emulator, you can probably run at least some of Doom, and yeah some people have made basic versions of Doom. A fully featured level of Wolfenstein 3D has been on the site for years.
you should try to mod in custom blocks so it has the same functionality as normal scratch
@EnchantedStew
Жыл бұрын
Thank you for the idea! The code for ScratchJr itself is open source, so theoretically I could do that! Maybe even add some custom blocks for communication over wifi? "Controlling a model ICBM with ScratchJr!" maybe?
@blokos_
Жыл бұрын
@@EnchantedStew scratch senior
@nickz3252
Жыл бұрын
@@blokos_ it would be funny to have the same UI as Scratch Jr. for the senior version, but just fill it to the brim with complicated and advanced coding function support. So it can be used for complex projects but still have this semi-patronizing, goofy as heck UI that some software engineer will have to look at for however long it takes to finish! Like seeing toys and stickers at a retirement home XD
I experimented a bit in Scratch Jr some years ago and asked myself this question. I didn't end up actually testing it much, but it was kinda fun.
Honestly Scratch goes hard. Has a real special place in my heart. It's hilarious they made one for 5 year olds though I had no idea
absolutely incredible, subbed and turned on notifications. Keep up the great work!
Nice, I actually used to code random crap in scratch and did not know it was possible to do amazing stuff like this. Mind-blowing! Great job
Bro I love these kinds of vids, and I hope you post some more! Subbed!
never took a programming class in my life so I had no clue what you said but I like the video.
A glitch in scratchjr that may help you is pretty simple: 1. Create a new function (in scratchjr) 2. Duplicate the block by dragging the block into the same sprite (near top left) By duplicating each function ~50x run functions much faster.
@ongenix227
25 күн бұрын
I wanted to update my previous answer with more relevant information: 1. Create a new "when I receive block" in ScratchJR 2. Add your actual code to this block 3. Drag the final result onto the top left, where the sprite is 4. Repeat this ~50 times. This whole processes would be incredibly resource intensive for larger projects, so consider simply adding a "set speed to running" block instead.
This is dope and your channel is underrated. My one recommendation to help in the algorithm (I'm not an expert) would be to add some music and some sound effects. Phenomenal video though, kept me attached the entire way through.
@EnchantedStew
Жыл бұрын
Thank you so much for the advice! I was thinking about adding some music in the background, but nothing seemed to work with it. I'll probably add some in my next videos like this.
@theancientyartzy
Жыл бұрын
@@EnchantedStew Sounds dope, keep up the grind my guy!
@Gear_Storm
Жыл бұрын
@@EnchantedStew might I reccomend some very chill unobtrusive music, like a pause theme or file select theme from whatever game you think the assosiated theme would fit?
This is hella sick! Subbed
This is truly one of the videos ever
Bro this is so underrated, remember me when you become famous
'Just a small bit of coding' Writes a book if coding
Have you tried using source game's console? it has aliases and execs I have no idea if it can be used to compute anything but I think it's a cool challenge
Underrated channel, idk why you're not more popular
amazing vid keep it up!!
The fact that this guy made the whole video in scratch jr
Infinite abacus is basically just machine code (or assembly, but it doesn't use mnemonics)
@mariocamspam72
Жыл бұрын
mnemonics, not pnemonics
@Avighna
Жыл бұрын
@@mariocamspam72 my bad, corrected.
@enoua5222
Жыл бұрын
Nah, I've used assembly before, it's way easier than infinite abacus, lol
@Avighna
Жыл бұрын
@@enoua5222 Haha yes definitely
I learned coding on regular scratch, i watched a single tutorial and after that i just looked inside of some of the games i played alot and learned that way, by seeing how each coding block worked
What do you think I should try programming in ScratchJr next? Should I make a whole new programming language dedicated to it? You tell me in the down below! I read all the comments! Make sure to like and subscribe, as both of those help out the channel a lot as well!
@kyogre8192
Жыл бұрын
run doom
@callmemackeroni
Жыл бұрын
Recreate Stable Diffusion and call it Stable Kittyfusion
@megacadgeo9758
Жыл бұрын
try making something 3d, its possible in normal scratch.
@redstrider6814
Жыл бұрын
make a program to turn regular scratch code to scratch jr code
@FallzysAnarchy
Жыл бұрын
i wouldn't wish doing this upon anybody...
Great vid! I'd imagine it's already been suggested - but a pop filter (or just angling your mouth away from the mic when you talk) could help your audio quality
This guy's a genius
This was insane. Keep it up king.
found this to be a super interesting project!!
@samueldavies646
Жыл бұрын
I'm doing something similar involving scratch projects and their file format
@EnchantedStew
Жыл бұрын
Yay, thank you!
Excellent work. Following through on absolutely silly ideas is an immensely important skill, we applaud you! (also, for improved audio quality, please get a pop filter)
@EnchantedStew
Жыл бұрын
I'm working on the pop filter, thanks for the advice! 😊
I like your content, it has a nice quality. But I would suggest a pop filter for your mic. It sounds good but the plosives are quiz loud with headphones 😅 beside that great video
As someone who never used scratch Jr, this is awesome
great editing!
The fact alone that this presentation was made in Scratch jr is impressive enough on its own right
You hit the algorithm bro, and it's deserved, have the like. Now run Doom on it XD
cool, now just add another layer that converts a turning machine into an infinite abacus and your original goal is complete. Or as it might be called - another compiler pass.
You are insane loved the vid haha
Cool. I was hinting of doing something like this
I made Pokémon, GeometryDash & an Entity fight! As well as an interactable treasure hint and a platformer! Edit: I'm also suprised that you are able to make all the scenes of demonstration in ScratchJr!
I like your funny words, magic man
I don't understand programming so I didn't realize you already showed what you were explaining what you were trying to do.
How did you make me watch all 7 minutes of a video about scratch junior what a mad lad
Great video! you should get a pop filter for your microphone
@EnchantedStew
Жыл бұрын
Thanks for the tip
literal gold
You better bet I'm gonna play with this
Incredible. No judgement for Python. I use Visual Basic myself..
I FINALLY FOUND MY MIDDLE SCHOOL NOSTALGIA!!!
I mean, the true test of any Scratch thing is to run a raycasting based world, similar to Wolfenstein.
I feel like this is what people in a prison with computers only allowed to run scratch junior would eventually come up with.
As soon as I heard conditionals I knew exactly where this was going
How is it that at @5:47s I just learned for the first time that adding consecutive odd numbers gives square numbers.. out of all math videos and sequences taught by 3b1br and numberphile, this off-hand comment in the middle of this completely unrelated video blew my mind. Listen I got a little excited, but tl;dr that was neat to learn
hello fellow stew :) Nice video I love scratch
love this :)
“To help 5-7 year olds” Bro I was coding with normal scratch when I was that age
Back a year later (see my previous comment), and I wanted to mention something. There are two different ScratchJR versions, with only two minor differences. The large iPad version and the small iPad version, which crash differently (and you can only rename sprites in the latter). When too many repeat blocks go over the screen on the first option, it crashes and restarts (but still keeps the file in memory, I think). If you load the file again, it'll crash but lock you out permanently. The second option will freeze, but not fully crash. You can spam tap the top left corner to exit, and will usually take less than 1 minute. When you reload the file, it'll finally crash and restart the app. I wanted to mention this for people planning on making large projects, as your project could be completely unusable for certain versions. Thanks for reading, and please check out my previous comment
@EnchantedStew
23 күн бұрын
For making large projects I would support using the unofficial computer port of it.
My man made assembly level code in scratch jr that has got to be an achievement.
leaving comment for the algorithm
Yo none of this made sense but I’m rocking with it
I didn't think Scratch could've gotten any simpler than it already was
I was able to convinced my school to switch over!
Interpreted languages are supposed to be the highest form of coding complexity. But you used a program written in an interpreted language to write another language, thus increasing the complexity further.
@DsiakMondala
Жыл бұрын
Breaking limits, going even further beyond. A true saiyan.
you should try making a programming language that you can use to make apps etc. with Scratch Jr
@DsiakMondala
Жыл бұрын
He did. His compiler can compile anything, it is complete.
If it has 1s and 0s, it's probably Turing complete.
That's why i love scratch
funny beans. reminiscient of the power point turing machine xd
You forgot that this video makes you look like a badass in my eyes and puts me to shame to find Scratch limiting as a beginner.
Alright. Scratch Jr. is turing complete. So now there must be Scratch Jr. Bad Apple and Doom, there is no choice here
Can't wait to have my daughters try Scratch JR.
Wow very awesome
6:01 bruh I'm dead 💀. This is literally a Turing-tarpit version of Assembly, and you still managed to implement subroutines Now I'm wondering... what if we code the *Ackermann function* in it? coding an explicit stack would be a hell in that language, specially if we need arbitrary-precision ints
Turing machines are great cause they can compute anything that is computable. Anything computable being anything that can be computed on a Turing machine
What programming application is that in the python code section? looks cool
@EnchantedStew
Жыл бұрын
I use Visual Studio Code. code.visualstudio.com/
Me when i was 10 :wOw sCRAtcH Jr iS So gOoD Me now: uhh thats not enough for even a platformer
I remember spending hours on Scratch Jr because Scratch just wasn’t available on mobile at the time
You said Doom in Scratch Jr. may be possible, I think we'd all love to see if you can confirm that.
my head hurts
Scratch Jr needs a dark mode ASAP O.O
Very cool
I just realized you only have 1000 subs (way to underrated)
@DemDevDJY
Жыл бұрын
hate to be a douche.. but *too
Now... write a chess engine in the Plague inc scenario editor. It's infinitely more capable than Scratch jr.
Pure insanity, yet, computer science is anything but maintaining sanity when all of your processes scream at you.
very interesting
this is both so impressive and so stupid. i love it
I did scratch at around 5-6 (I wasn’t very good and the only thing I remember is making people bounce on a trampoline) and I can say with 100% certainty scratch jr would have been so much more confusing
when i was like 9, imade a working game in scratch junior where u had to escape a path of enmies to find an object to win
...aaaand, here i was waiting for you to actually run something complex with the thing. Impressive work nonetheless
@EnchantedStew
Жыл бұрын
I'd love to do something very complex, but the program to write out squares took me almost 4 hours of brainstorming to just get an idea for how to write it. I may do something more complex in the future by creating my own programming language that compiles to EIA.
@vlad7838
Жыл бұрын
Are you kidding me? This is way more complex than it may look, you can't expect him to make a machine learning AI In ScratchJr
It's good that people are finally talking about ScratchJr, it's so much easier to use (FOR ME) than normal Scratch!
in my 4 grade we hat an competition with scratch i won and as a 8 year old a code to write and all automatic to make was hard but nice
Can't wait for three months from now when someone will mod the entirety of Doom 2 into ScratchJr using this video.