AISubs v3.5
The state of emergency declaration due to the spread of the new coronavirus has been lifted,
but the challenge from now on is to restore the stagnant economy and education as soon as possible.
In the meantime, online classes have attracted attention in education.
Instead of going to school, you can take classes at home.
Some universities are actively expanding students' learning spaces using these online classes.
In addition, some schools are distributing class videos.
Children can now study for exams at home without going to school.
These online classes are being established as a new style of education in the future.
So, even in the program, we will challenge online classes.
This month, we will study programming using Minecraft.
This time, we will use Minecraft to program Kadan.
Now I want to know about it. Let's Go! Programming Star!
Hello, everyone. I'm Kyoko Kunji, head of programming at Let's Go! Programming Star.
And Prosa-kun and Prosa-chan, thank you for joining us today.
Thank you for having us.
Recently, we've been making Kadans together twice, haven't we?
What kind of class are we having today?
We're going to make Kadans again today, but we're going to go one step further with programming.
Last time, we used order processing to make Kadans, didn't we?
Yes, we did.
And this time, we're going to use a block that Emily- chan used for her work last time, but do you remember it?
Repeat!
That's right! If you use repetition, you can easily do more complicated programming!
Don't you think you can make a bigger Kadan that way?
I see.
So let's study repetition well this time!
Yes!
We're going to use Minecraft for today's class as well!
Minecraft is a role-playing game where you explore a vast world, but you can also play it with programming!
You can use programming to control the robot called "agent" in the game and build houses and grow fields!
You can learn programming while enjoying the game!
I don't think there's a textbook for online classes like this!
I mean, even if you're a kid who's not good at studying, you play games every day!
This time, we're going to learn programming using the online textbook provided by Mr. Fusion!
Before we start programming, let's review how to operate Minecraft.
Here's how you operate Minecraft characters!
Press "W" on the keyboard to move forward...
"S" for switch...
"A" for left...
"D" for right...
With the mouse, you can attack with the left click and place blocks with the right click.
This is the basic operation of Minecraft. Let's all remember it!
In Minecraft's world, code connections are used for programming!
They are necessary for ordering agents!
To call an agent, first...
From "Player's Menu", select "Chat Command" and type "jump"!
Let's change "jump" to "tp"!
And from "Agent", let's connect "return agent" to its position!
In this way, the agent will teleport to you!
Next, to make an agent turn left, select "Chat Command" and "jump" from "Player"!
Let's change "jump" to "tp"!
Next, from "Agent's Menu", let's connect "turn agent's direction to the left"!
And in the last broadcast, we made a "kadan"!
Here is the programming to make a "kadan"!
First, move the agent on the yellow block forward and turn it to the right!
And while moving forward, plant the flowers behind you!
When you plant the first row, move to the left!
Now, while moving back, plant the flowers in front of you!
The programming of this sequence processing we have learned so far is the basis of operation.
This time, let's make a bigger problem by repeating this operation!
The three kinds of human skills of programming - sequence processing!
Once you have mastered it, the next thing you want to learn is the third kind of human skills - the second magic wand!
That is repetition!
Yes!
With this repetition, you can cast a spell that makes programming surprisingly easy!
First of all, Prosta-chan will teach you what you can easily do by repeating 12 squares x 12 squares of flowerbeds!
Yes! Prosta-chan made it!
Yes, Onii-chan! I made this kind of flowerbed!
The last time I made it was 4 squares x 4 squares of flowerbeds!
The most important thing about this flowerbed is how to move the agent and how to plant the flowers, right?
But if you make a flowerbed of 12 squares x 12 squares of flowerbeds only with sequence processing,
it will be such a long programming!
To shorten this programming, we will use repetition!
The three kinds of human skills of programming - sequence processing!
If you make a basic operation, you can loop another three kinds of human skills - repetition!
Even if you don't order the same work over and over again, using repetition will greatly reduce your efforts!
For example, if you use the programming of proceeding two squares three times,
repeating proceeding two squares three times will proceed six squares with two times three!
That's right! If you repeat the basic operation several times, you will be able to realize the big operation you aim for!
How do you guide the number of repeated operations?
Beyond that, what you are asked for is the power of mathematics, right?
So you do this, right?
That's right! This time we will study this!
It seems like the probability of making a mistake will also decrease, right?
Certainly!
That's right!
Certainly!
I don't think there will be any mistakes.
That's right!
Then let's learn repetitive programming!
All right!
I'm looking forward to it!
This time, we will apply the programming to make two rows of cadans broadcasted on July 4th and give a lesson.
On the program home page, we have data for programming to make two rows of cadans, so if you want to participate in the lesson, please check the program home page.
This programming makes me hungry until the second row!
And the agent is stopped in this position!
To make the third row, let's start with the programming that slides this agent to the left!
Then, select "move one block forward" from "agent" and change "forward" to "left"!
Left?
Yes!
Left?
Move it to the left, right?
Yes!
Change it to the left!
Attach it!
Yes!
Is everyone ready?
OK!
Next is "programming" that makes two blocks advance in front of the agent and flowers in the back!
Then, select "move one block forward" from "agent" and change "forward" to "left"!
Two blocks!
By moving two blocks forward, you can plant flowers in the space behind you!
Oh, I see!
Yes, yes!
Is everyone ready?
Yes!
OK!
OK, then!
From now on, we will use repetitive programming to plant flowers!
Finally!
Select "repeat four times" from the "loop" menu!
Yes!
Now, here's a question!
Oh, a question?
With this repetitive programming, how far and where can you plant flowers in four rows?
Everyone, try planting a block!
What?
What do you mean?
How do you do it?
Where is it?
Is it here?
I made a mistake.
How do you plant it?
Like this.
Oh, no, no, no!
Oh, no!
No, no, no!
It's here!
Looking at everyone's programming,
Chairman, Shinji and Nanaka put "repeat" under the "change direction to the right" block!
And Emily and Iori put "make slot number one valid" under it!
Which one is the correct answer?
Now, I will announce the correct answer!
The correct answer is...
Where is it?
Under "change direction to the right"!
It's correct... It's correct... It's correct...
It's correct...
No, it's not!
Oh, it's correct!
No, it's not!
It's correct!
What?
Yay!
Is it better not to put "slot number" in it?
If you don't put "slot number" in it, the color of the flower won't change when you repeat it!
Oh, like "can you change the color?"
I see, I see.
Oh, like that!
Oh, I see.
This is frustrating!
It's important to think about what kind of work you're going to do over and over again!
Because Iori-chan and Emily-chan's wrong programming didn't have a block to change the color of the flowers!
When you make the third row, you don't repeat the process of changing the color of the flowers, so unlike the first row of flowers, you make the third row with the second row of flowers!
When you use repetition, you need to know exactly what kind of work you're going to loop and program it!
Did you understand repetition now?
Yes!
After this is work! Let's use repetition to make a 12-story big garden!
This program is provided by PROSTA of the Programming Learning System.
On the official website of the program, we have posted web fusion works made by members in the past and works made with scratch in the past!
There is also a forum for viewers, so please check it out!
So, today's work!
Let's make a bigger garden of 12 squares x 12 squares more efficiently using repetition!
This time, you will not make 4x4, but a 12x12 large garden with programming!
How many times do you repeat the programming that is the basic operation?
By changing the number of repetitions, you will aim for a larger garden!
For example, if you change this repetition from 2 to 3, you can make a garden of 4 squares x 6 squares!
In addition, you can also make a garden by repeating programming of 2 rows and 12 squares of flowers in a horizontal line 6 times.
Let's apply repetition in various situations and make a big garden!
Then, let's see how everyone is doing!
First of all, Yori-chan!
3, 4, 5, 6...
Should I repeat this 6 times?
It seems like Yori-chan is programming a garden of 5 squares and repeating it to make a garden!
I wonder what kind of garden will be made!
On the other hand, Nanaka-chan is...
Ah, I don't know!
Do it 6 times and...
Ah, right! In the middle!
Nanaka-chan, you are making a garden of 4 squares by repeating the programming I taught you!
Can you do it well?
Oh, no!
Next is Emiri-chan!
4...
Emiri-chan, you are making a garden of 12 squares in a horizontal line and repeating it to make a garden!
Can you do it well?
Oh, but this is correct.
And Shinji-kun?
I did it! Maybe, maybe I did it.
Shinji-kun made four rows of 12 squares next to each other and repeated it three times.
You're programming well using repeated blocks!
You're amazing, Shinji-kun!
Shinji-kun is encouraging me! It's kind of frustrating!
Do your best! I'm telling you, I'm just not good with computers!
After this, we will announce the 12 blocks of Kadan that everyone made!
On Hulu, you can watch and stream classes you've studied so far!
If you don't know the class, you can review it on Hulu!
On the official website of the show, you can find works made by the members of Web Fusion and works made with Scratch in the past!
There is also a home page for viewers, so please check it out!
A large Kadan made using repeated blocks!
First, Shinji-kun!
Looking at Shinji-kun's programming,
he seems to want to make 12 blocks of Kadan by repeating Kadan's programming of making four rows of Kadan three times!
Will the agent work properly?
It's huge!
It really is!
Wow!
Wow! The color has changed!
It's OK! It's gone!
This is how you repeat it!
Wow!
This is Shinji's programming "kadan"!
By arranging four colors of flowers alternately and repeating it three times,
a large "kadan" has been completed!
Now, let's take a look at his programming!
This is it!
Wow!
What does it mean?
Wow!
This is it!
It's complicated!
Shinji-kun, you're amazing!
Huh? Who said that?
I'm good at math!
Wow!
You said it!
When I say it, it's only because I'm not good at computers!
Wow!
So, you've shown your true colors!
I've shown my true colors!
Finally!
Wow!
Next up is Emily-chan's "kadan"!
Looking at Emily-chan's programming,
after making two rows of "kadan", she wants to repeat that programming five times and make ten rows of "kadan"!
Will the agent work properly?
I'll press "go"!
Here I go!
Ta-dah!
Here I go!
What kind of flower is it?
It's a tall flower.
Oh, it's a tall flower.
You're looking at it from quite high up, aren't you?
It's quite high up.
Actually, I did the same thing with Cindy.
I went to the side like this and repeated it.
I programmed it like that.
Wasn't it very difficult to put the flower in?
It was difficult.
Yes, it was.
It was hard to find a place to change the color of the flower.
And this is Emily's kadan, which was made without mistakes.
The basic operation is to plant pink and white flowers alternately.
Here's the programming.
First, make the first row of kadans 12 times in a row.
After moving to the second row, make the second row in the same way 12 times in a row.
And the remaining 10 rows are completed by repeating the programming of making two rows five times.
Yes, it's the first variable movement.
I repeated it at first and it became something I didn't know well.
Here, I realized that I had to make it properly without repeating it.
Yes, it was difficult.
If you put "right" in "repeat", you'll make a mistake.
That's right. I went to a strange place.
Emily, you did a good job.
Thank you.
Thank you, Kurosta.
After this, I'll announce Nanaka's kadan.
What is this kadan?
On the show's official homepage, you can see past webfusion works created by members and works created by Scratch.
There's also a forum for viewers, so be sure to check it out!
Next up is Nanaka-chan!
Looking at Nanaka-chan's programming...
She made 12 rows of quadruple kadans, then moved to the right and made another quadruple kadan!
And it looks like she's programming the middle four rows with white and red flowers!
It looks like she's trying to make a sunflower, but will she be able to do it?
Look!
Ah, so it's like that!
Unlike Shinji-kun and Emily-chan, Nanaka-chan makes quadruple kadans over and over again!
Yes!
She made use of the first one!
Ah, so it's like that!
She'll be able to make the 12th row in just a little while, but how will the agent move?
Ah, is it walking?
Will it be okay?
Oh, it's moving!
Stepping style!
It's coming back!
It's splitting grass!
It might have done it a little...
Oh!
Ah, it's okay, it's okay!
Ah, it's okay!
She's still doing her best!
Will she be able to make it in the middle?
Ah, I'm curious!
On the contrary, is it a design that doesn't exist?
What will happen?
Oh, oh, oh!
She's hesitating!
It's coming back!
Ah, this is bad!
This is bad!
She's hesitating!
Ah, it started again!
Oh, no! Is it OK?
Is it OK?
Ah, one of them is off.
Ah, nice error!
No way!
And the color of the flower is one color.
It looks like a flower garden that sells photos.
Ah, it changed!
The course has changed!
Has the course changed?
Ah, strange!
Ah, the course has changed!
Strange!
She has done a great thing!
Ah, cute!
Ah, does it equal?
Wow!
Here is the flower garden created by Nanaka-chan's programming!
Unlike her imagination, it doesn't look like a flower garden, but looks like it has become equal.
Actually...
The idea is great!
I wanted to make only the middle part red and make a Japanese flag.
I see!
I see! Sun circle!
Why did it become like this?
It was better to make it equal than sun circle.
I thought it was equal!
This is equal!
Hey!
This is equal, isn't it?
It's equal, isn't it?
Yes, it is!
Let's look at Nanaka-chan's programming which has become equal.
She repeats the four-leaf flower garden which she learned in class six times and creates twelve rows.
And, since the number of this slot number was one, it became equal.
If you change this number to two, it will become the sun circle which Nanaka-chan wanted to make.
Nanaka-chan, nice error!
The last one is Yori-chan!
Looking at Yori-chan's programming, it seems like she wants to use black flowers to make two rows of five- color cadans and repeat it six times to make twelve rows.
Then she moves to the center and seems like she wants to line up white flowers in two rows.
And she's trying to line up red flowers in the remaining five rows. Will she be able to do it well?
Here we go!
Go for it!
Another black flower!
Here it is!
I like it!
Mine might be really long, too!
They're using the same method.
Wow!
- Ah, but you put it there. - You got it!
Why, why, what's wrong, what's wrong? Eh, eh, what? Wait, wait, no!
Iori-chan, nice error!
As I thought, the balance of black and red got worse.
Now, let's look at the programming.
Iori-chan is repeating making 5 squares of cardan and making 12 rows.
And since there weren't many repeats here,
the white flower stopped at the 6th row and the next flower moved up.
If you repeated this 6 times, you would have completed the cardan as you imagined.
Today, we tried planting flowers in a larger garden than before.
Shinji-kun, your last work was perfect! How was it?
No, I don't think I can do it for the second time.
I don't think I can do it anymore.
I get confused.
You need concentration.
But what I understood this time is that
although it's a computer game software called Minecraft,
Shinji-kun, you are good at mathematics, and I feel like you made it into a different subject.
- That's right. - That's right.
Mathematics is a lot of fun for me.
So, I was very excited when I saw these kinds of repetitions.
On the other hand, people who are not good at mathematics can use Minecraft to overcome their lack of mathematics.
- That's right. - That's right.
- It's like a game. - It seems like you can have fun playing it.
That's right.
If you are not good at maths, why don't you make a pattern in Minecraft and study it?
If you are interested in Minecraft, there is detailed information on the show's website, so let's check it out!
Next episode will be released in July. Look forward to it!
- Here we go! - Okay!
I'm glad you are black.
This program was brought to you by PROSTA, a programming learning system.