AISubs
The state of emergency declaration by the spread of the new coronavirus has been lifted, but the challenge from now on is to recover 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.
At a certain university, students are actively expanding their learning space using this online class.
In addition, classes are also distributed in a certain school district.
Children can study for exams at home without going to school.
This online class is being established as a new style of education in the future.
Therefore, even in the program, it is a challenge to online classes.
This month, I will study programming using Minecraft.
This time, I will use Minecraft to program Kadan.
I want to know now! Aiming programming star!
Hello everyone. I'm Kyoko Gunji, the class president of Aiming Programming Star.
And I'm Kurosa-kun and Kurosa-chan. Nice to meet you.
Nice to meet you.
Recently, we've been making Kadan together. What kind of class are we doing today?
We're going to make Kadan today, but we're going to devise a programming and move on to the next level.
Last time, we made Kadan using sequential processing.
And this time, we're going to use the block that Emily- chan used for work last time. Do you remember?
Oh, repetition!
That's right! If you use repetition, you can easily and more complex programming.
If you do that, you can make a bigger Kadan, don't you think?
I see.
That's why we're going to study repetition this time.
We're going to study this class using Minecraft, too.
Minecraft is a role-playing game that adventures in a vast world, but you can play it using programming.
You can use programming to control a robot called an agent in the game and build a house or a field.
You can learn programming while enjoying the game. There's no other teaching material that's perfect for online classes.
Even if you're a kid who's not good at studying, you'll play the game every day.
This time, we're going to learn programming using the online teaching material provided by Mr. Fusion.
Before we start programming, let's review how to operate Minecraft.
Here's how to operate Minecraft characters.
Move forward with the W key on the keyboard, switch with the S key,
move to the left with the A key, and to the right with the D key.
With the mouse, you can attack with the left click, and block with the right click.
This is the basic operation of Minecraft. Let's all remember it.
Code Connection is used to do programming in the Minecraft world.
It's necessary to give orders to agents.
To call an agent, first, select when you input the chat command Jump from the player menu.
Let's change Jump to TP.
And let's connect Agent to return Agent to its original position.
In this way, the agent will teleport to your feet.
Next, to make the agent turn to the left, select when you input the chat command Jump from the player menu.
Let's change Jump to L.
Next, from the agent menu, connect Agent to turn to the left.
And in the last broadcast, we made a cauldron.
This is the programming to make a cauldron.
First, let the agent on the yellow block move forward and turn to the right.
Then, while moving forward, plant the flower in the back.
After planting the first row, move to the left.
Now, while moving to the back, plant the flower in the front.
The programming of this sequential processing that we have learned so far is the basic of operation.
This time, let's make a bigger flower bed by repeating this operation.
The three types of programming are sequential processing.
If you can master it, the next thing you want to learn is the second magic wand of the three types of programming.
That is repetition.
This repetition can cast a magic that makes programming surprisingly easy.
First of all, Prosta-chan will teach you what you can easily do by repeating the 12 squares x 12 squares magic wand.
Prosta-chan made it.
Yes, Onii-chan. I made this magic wand.
The last time I made a 4 squares x 4 squares magic wand.
The most important thing was the sequential processing of how to move the agent and how to plant the flower in this magic wand.
But if you make a 12 squares x 12 squares magic wand this time with only sequential processing,
it will be such a long programming.
I use repetition to shorten this programming.
If you make the basic operation with the three types of programming, sequential processing,
the other three types of magic wands, repeat the work, loop.
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 2-step programming 3 times in a row,
you will be able to go 6 steps in 2x3 because you repeat the 2-step programming 3 times.
So, how many times do you repeat the basic movement to achieve the big movement you want to achieve?
How do you guide the number of times you repeat it? From there, you will be asked about the power of mathematics.
You're going to do this. That's right. I'm going to study this this time.
It seems that the probability of making a mistake will also decrease.
That's right.
I don't think I'll make any mistakes.
That's right. Then, let's learn the repetition programming.
Yes. I'm looking forward to it.
This time, we will apply the programming to make two steps, which was broadcast on July 4th, and take a class.
The program homepage has data on the programming to make two steps, so if you want to participate in the class, please check the program homepage.
This programming grows flowers up to the second row. And the agent stops at this position.
To make the third row, let's start with the programming that slides this agent to the left.
So, let's choose one block to move from the agent to the front and change the front to the left.
Move to the left.
Yes. Change to the left.
Is everyone ready?
OK!
Next, let the agent move 2 blocks forward and plant flowers in the back.
Let the agent move 1 block forward and change 1 to 2.
2 blocks.
By moving 2 blocks forward, you can plant flowers in the back space.
I see.
Is everyone ready?
Yes.
From now on, we will use repetition to program flowers.
Select 4 times from the loop menu.
Yes.
Now, here's a question.
What's the question?
How many times do you need to plant flowers to make 4 rows of flowers?
Everyone, try planting flowers.
What?
How?
Where?
I made a mistake.
How do you plant flowers?
Like this.
Oh, no.
Here.
Look at everyone's programming.
The president, Shinji-kun, and Nanaka-chan put a repetition under the block to change the direction to the right.
And Emily-chan and Iori-chan put a repetition under the block to make the slot number 1 valid.
Which is the correct answer?
Now, I will announce the correct answer
The correct answer is...
Where is it?
It's on the bottom of the right
It looks like it's correct
What about the bottom?
It's correct
The bottom is the bottom of the block
Yay!
Is it better not to put in the slot number?
If you don't put in the slot number, the color of the flower won't change when you repeat it
Can't you change the color?
I see, I see
I see
It's frustrating
It's important to think about what kind of work to repeat
Iori-chan and Emily-chan's wrong programming didn't have a block to change the color of the flower
When making the third row, they didn't repeat the process of changing the color of the flower
They made the third row with the color of the second row instead of the color of the first row
When repeating the process, you need to know what kind of work to loop and do the programming properly
Did you understand the looping process?
Yes
After this, it's time for work!
Let's make a 12-square-meter-tall step using the looping process!
This program is brought to you by PLOSTA, a programming learning system.
The program is available on the official website of the program, and you can find the web fusion work and the scratch work that the members made in the past.
There is also a post form of the viewers, so please check it out!
Let's make a 12-square-meter-tall step more efficiently using the looping process!
This time, instead of 4 × 4, you can make a 12 × 12-square-meter-tall step using the looping process.
How many times do you repeat the basic programming?
By changing the number of repetitions, you can make a bigger step.
For example, if you change this repetition from 2 to 3, you can make a 4 × 6-square-meter-tall step.
In addition, you can also make a step by repeating the programming of planting two rows of 12-square- meter- tall flowers on the side 6 times.
Let's make a big step by applying repetition in various situations!
Let's take a look at everyone!
First of all, Yori-chan!
3, 4, 5, 6
Do I have to do it again?
It seems that Yori-chan programs a 5-square-meter- tall step and repeats it to make a step.
I wonder what kind of step will be made!
On the other hand, what about Nanaka-chan?
I don't know!
Ah, do it one more time, and then in the middle
Nanaka-chan, using the programming that I taught you, she is repeating the steps of 4 squares
I wonder if she can do it well
Oh no, oh no, oh no
Next is Emily-chan
4
Emily-chan, she is repeating the steps of 12 squares
I wonder if she can do it well
Ah, but this is correct
And Shinji-kun?
She did it, maybe, maybe she did it
Shinji-kun is making 4 rows of steps of 12 squares, and repeating it 3 times
He is programming using the blocks of repetition
Amazing, Shinji-kun
Do your best
It's a bit frustrating to be encouraged by Shinji- kun
Do your best
I'll say it again, I'm just not good at computers
After this, I'll announce the 12th episode that everyone made.
On Hulu, you can watch and share the lessons you've learned so far.
If you don't know the lesson, you can review it on Hulu.
Let's check it out!
On the official website of the program,
you can see the works of Web Fusion made by the members in the past,
and the works made by Scratch.
There is also a post form of the viewers, so please check it out!
First of all, Shinji-kun, who makes a big fireball using a repeater.
Looking at Shinji-kun's programming,
it seems that he wants to make a fireball of 12 squares by repeating the programming of the fireball that makes four rows three times.
I wonder if the agent will work properly.
Wow!
It's huge!
It's true!
Wow!
The color has changed
It's OK. It's gone
This is how you repeat
Wow!
This is the flower bouquet that Shinji programmed
By arranging four colors of flowers alternately and repeating this three times
A big flower bouquet has been completed
Let's take a look at the programming
This is it
Wow!
What does it mean?
Wow!
This is it
It's complicated
Shinji, you are great!
Who is it?
I wonder who it is
I'm good at math
Wow!
You said it
I said it because I'm not good at computers
Wow!
You've shown your real ability
Finally
Wow!
Next is Emily's flower bouquet
Looking at Emily's programming
After making two rows of flower bouquets
She wants to repeat the programming five times
to make ten rows of flower bouquets
Will the agent work properly?
I'll press 5
Here I go
Yes
What kind of flower is this?
This is a tall flower
A tall flower
You are looking at it from quite high
I'm climbing quite high
Actually, I also did the same thing as Shinji
I went to the side and repeated it
Wasn't it very difficult to find a place to put the flowers?
It was difficult
It was difficult to find a place to change the color of the flowers
And here is Emily's flower bed that was made without mistakes
The basic operation is to plant pink flowers and white flowers alternately
Here is the programming
First, make the first row of flower beds 12 times in a row
After moving to the second row, I made 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 2 rows 5 times
Well, the first variable movement
I repeated it, and I didn't understand it at first
Here, I understood that I had to make it properly without repeating it
It was difficult
If you make a mistake by repeating the right- facing cell, you will make a mistake
That's right, I went to a strange place
Emily, well done
Thank you
Thank you, Kurosuta
After this, I will announce Nanaka's flower bed
What is this flower bed?
On the official website of the program,
The works of Web Fusion made by the members in the past
And the works made by Scratch are posted
There are also posts of the viewers, so please check it out
Next is Nanaka-chan
If you look at Nanaka-chan's programming,
If you make 12 rows of 4-pillar flowerbeds,
Move to the right and make another 4-pillar flowerbed
And the four rows in the middle
It seems to be programming using two colors of white and red flowers
Apparently, I'm trying to make a sunflower, but I wonder if I can
Oh, this pattern
Unlike Shinji-kun and Emiri-chan, Nanaka-chan makes 4-pillar flowerbeds over and over again
I made use of the first one
I can make the 12th row in a little while, but how does the agent move?
Are you walking?
Is it okay?
Oh, it's going
Stepping style
It's going back
Separate the grass
I might have done it
Oh, it's okay
It's still going
It's a matter of whether it goes in the middle
I'm curious
Is it a design that doesn't have it?
What do you think?
What will happen?
Oh, I'm wondering
Oh, I'm in trouble
I'm a little lost
Oh no! Are you OK?
Are you OK?
One of them is off
Nice error
No way!
And the color of the flower is one color
It looks like a flower garden
It changed!
Did the trajectory change?
It's strange!
The trajectory of the flower changed
It's strange
This is very advanced
It's cute!
Is it equal?
No
Great!
This is a flower garden made by Nanaka's programming
It's different from the image
It's not a sunflower, but it's equal
Actually, the idea is great
I wanted to make the center red
I wanted to make a Japanese flag
I see
That's it
Sunflower
Why did it become like this?
It was better to be equal than sunflower
I thought it was equal
This is equal
Hey!
This is equal
It's equal
Let's look at Nanaka's programming which became equal
She made 12 rows of flower garden by repeating the 4 squares she learned in class 6 times
And the number of the slot number here was 1, so it became equal
If you change this number to 2, it will be the sunflower that Nanaka wanted to make
Nanaka, nice error
The last is Yori-chan
Looking at Yori-chan's programming, she uses black flowers to make two rows of five-pointed flowerbeds
It seems that she wants to make 12 rows by repeating it 6 times
And it seems that she wants to move to the middle and line up two rows of white flowers
And the remaining 5 rows are trying to line up red flowers
I wonder if it will work
I will go
Go for it
It's black again
I like it
I might be very long
This is the same strategy
Wow
Ah, but it's placed.
I got it.
Why? Why? What's wrong? What's wrong?
What? Wait a minute.
Wait, it's not.
Iori-chan, nice error.
After all, the balance between black and red has become a little bad.
Let's take a look at the programming.
Iori-chan is repeating the steps of making 5 squares to make 12 rows.
And since the number of repetitions here was small, the white flowers stopped at the 6th row and moved the next flower up.
If you repeat this 6 times, the flower bed as imagined was completed.
Today, I tried to plant flowers in a larger garden than before.
Shinji-kun, the last work was perfect. How was it?
No, I can't do it the second time.
It may be impossible.
I'm confused.
You need to concentrate.
But what I learned this time is that it's a computer game software called Minecraft.
Shinji-kun, who is good at math, seems to have made it a different subject.
That's right.
I really enjoy doing math.
So, I was very excited when I entered such a repetition.
On the contrary, children who are not good at math can use this Minecraft to overcome their lack of math.
That's right.
It's a game.
It seems to be fun.
If you are not good at math, why don't you make a step in Minecraft and study it?
If you are interested in Minecraft, there is a detailed information on the program homepage, so let's check it out.
Next time is July review. Please look forward to it.
This program was brought to you by PLOSTA, a programming learning system.