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 challenge online classes.
Today, we will study programming using Minecraft.
We will challenge card making and improve our programming skills.
I want to know now! Aim for programming star!
Hello, everyone!
"Aim for programming star!" I'm the class president, Kyoko Gunji.
And Prosta-kun and Prosta-chan, thank you for your cooperation this time as well.
Thank you for your cooperation.
It's lively.
Last time we all made cardboards together, but what are we going to do today?
This time, based on last time's programming, we will make original cardboards.
Yeah!
Looks fun!
We will study this class using Minecraft as well!
Minecraft is a role-playing game where you explore a vast world, but you can play it using programming!
You can control the "agent" robot in the game and build houses and fields using programming!
You can learn programming while enjoying the game!
There's no other online course like this!
This time, we will learn programming using the online course provided by Mr. Fusion!
Before we start programming, let's review how to operate Minecraft!
Here is how to operate Minecraft's characters!
"W" for forward
"S" for switch
"A" for left
"D" for right
"M" for attack
"R" for building blocks
These are the basic operations of Minecraft!
Let's all remember them!
In Minecraft's world, you need a code connection to use programming!
You need it in order to give orders to agents!
To call an agent, first...
Select "jump" from the player's menu!
Let's change "jump" to "dp"!
Then, let's connect "return agent" from "agent" to "agent"
In this way, the agent will teleport to you!
Next, in order to make the agent turn left...
Select "jump" from the player's menu!
Let's change "jump" to "l"!
Next, from "agent" menu, change "agent" direction to "l" and connect it!
And in the last broadcast, we made "kadan"!
Here is the programming to make "kadan"!
First of all, 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, and now while moving back, plant the flowers in front of you!
This time, let's apply this programming and make four rows of "kadan"!
Now, everyone, do you still have "kadan" programming you made last time?
Yes, we do!
Then, Emiri-chan, what are the three principles of programming?
The three principles are... "repeat"?
Emiri-chan, "nice error"!
What!?
Emiri-chan, what are you doing from above?
Oh, I know!
No, not now!
No, no!
No, no! Preparation process!
Emiri-chan, you are correct!
You are processing blocks' commands in order from above, right?
That's right!
You didn't do that, did you?
I didn't do it.
You didn't do it, did you?
No matter how complicated a block is, it can't be processed in the order you want it to be processed.
So, even when you are making blocks in three or four rows, you need to process them in order.
Yes!
Now, before we start programming, I want you to draw a blueprint for making blocks.
Oh! A blueprint!
This is the blueprint for programming we made in the last lesson.
I want you to draw a blueprint for how an agent should move like this.
But, don't you want to try making original blocks other than this method?
That's right!
Shinji-kun, what kind of movement do you have in mind?
I want to move diagonally, but...
Oh!
That's...
Is it difficult?
But if you go right and up and right and up, you can put things diagonally, can't you?
That's right.
So it's difficult whether you can process it in order.
That's right.
Yes! This time we will learn how to process in order!
Will you be able to convey your thoughts in order to the agent?
First of all, we will polish the basic power of the three humanities of programming!
Yes!
Then, first of all, let's think of a design for moving the agent!
For example, if you go forward first, you can try going straight without turning right!
Like drawing a whirlpool, you can think of various ways to go from the outside to the inside!
In this way, it is very important to first think about how you want to move it yourself!
Now, let's make a design for everyone's original movement!
But the important thing is whether you can program that movement properly in order processing!
Yes!
Let's do it!
What should I do?
I want to make it efficient.
That's right!
It's easier to program in order processing if it's efficient and there's no unnecessary movement!
Is it really efficient?
Wait a minute.
It's done!
It's fast!
OK! It's done!
Oh!
OK!
Wait a minute!
It's done!
Maybe it's done!
I want to make it!
Let's see what kind of design we've got!
I made it like this!
You're winding a whirlwind, aren't you?
Yes!
If you do it like this, you don't have to go through the red part, so I thought it would be efficient!
Great!
Wow!
It's true!
Why did you make it like this?
I wanted to make it so that you don't have to go through the red part, so I made it like this.
However, I think it's efficient in terms of the number of blocks.
Let's see!
I think we'll know if we do it in order processing!
Yes!
And here is Emily's design diagram!
I'm going to go through the red part!
I know! Even if you don't say it!
This is the only thing I can think of now, and I just drew it for now, but this unknown order is an "m"!
Because it's "m" in "millennium", I think it's fate!
Fate!
I see!
Yes!
Next!
Here is Iori-chan's design diagram!
From here, go like this, turn like this, go like this, and like this!
Wow! It's complicated!
Wow! It looks like there will be more blocks!
I thought I'd give it a try!
Iori-chan's design diagram looks complicated, but I wonder if she has a simulation in her head of how to process it in order!
I thought I'd give it a try without changing agents' directions!
I see! It looks like you're thinking of various ideas!
I'll do my best!
And here is Shinji-kun and Nanaka-chan's design diagram!
Nanaka-chan goes through the red frame and moves to the top of the house!
From there, it looks like she's planting flowers down there!
What kind of aim is it?
On the other hand, look closely at Shinji-kun's design diagram!
What does it look like?
It's a place where a car line plants flowers, but...
Actually, this is an alphabet "n" shaped flowerbed!
It looks like you want to plant flowers on "n" in "nira"!
After this, it's finally time for design diagram programming!
Can you all process it in order as you like?
This program is brought to you by FROST of the Programming Learning System.
Well then, I will program Kadhan using the design diagram I made earlier!
Can I process it in order as everyone expected?
I can't wait to see what Kadhan will be like!
First of all, Emily-chan, who drew a design diagram in "m" shape!
Let me use "repeat".
It seems like Emily-chan is going to program using a repeated block that she hasn't taught in class!
With this "repeat", she repeats the work of putting flowers in front of her twice!
On the other hand, Nanaka-chan...
You're lining up flowers, but what's wrong?
Oh, I'm looking at them now!
You're looking for flowers, aren't you?
Oh, I'm choosing!
But in the meantime, everyone's programming is progressing more and more!
Oh, no! Oh, no! Oh...
Suzuran might be good...
On the other hand, Iori-chan is progressing more and more!
Can you do it like that?
Put it in front of you, but...
Huh? Iori-chan? Can you hear me?
Huh? Wait a minute...
One, two...
Oh, no! Oh, no!
It seems like she's concentrating on programming so much that she can't hear my voice!
And Shinji-kun, who is thinking of an "n" shape pattern, is...
Block...
Go...
Put it in front of you...
It seems like Shinji-kun is confirming programming in words!
But it seems like he's programming the most!
One, two, five...
I did it! All right!
I did it!
Huh? You did it already?
I did it!
Huh? That's fast! That's fast! That's fast!
Shinji-kun is the best programmer!
How did that "n" shaped fireball look like?
After this, everyone's fireballs will be announced!
The original fireballs made in Minecraft!
First, the chairman's fireball!
As you can see in the design drawing,
the flowers will be planted in the four corners and center part!
In other words, imagine a whirlwind-shaped fireball!
I wonder if we were able to process it in order?
Well then, let's start!
Start!
Oh, it's a big one!
Yes, it's done!
It's cute!
Somehow, like this,
I tried to plant a small flower surrounded by flowers!
You have a good sense!
Thank you!
How many blocks did you use?
Yes, we only used three blocks,
which were "movement" and...
"place" and "make it work", and "change the flowers", which were the two main blocks we used.
This is the programming of the chairman of Gadan, which moves like a whirlwind.
First of all, in order to plant flowers on the lower left, you go two blocks forward and plant flowers on the back.
Then you go up to the upper left and move to the right and plant flowers.
Next, you go two blocks to the right and one block to the back and plant flowers.
Then you go back and move to the left and plant flowers on the lower right of Gadan.
Once you've done this much, you change the types of flowers and plant four flowers in the center.
As expected of the chairman! You've done a good job of processing the movements as you imagined!
Next is Emily-chan's Gadan!
As you can see in the blueprint, it's a Gadan that she imagined as "m".
I wonder if she's been able to process it in order.
Here I go!
I made it "m" shaped, so I made it "m".
Enter!
Shall we go?
Oh, you're tall!
Huh?
Is it working?
Oh, it's working!
Yeah, yeah, yeah!
It's working!
Oh, that's good!
It's working!
It's done!
Emily-chan, show me from above!
Huh? Four? Huh?
Not three flowers, but four?
I meant to plant four, but...
Emily-chan, nice error!
Nice error!
Why?
Now, let's see how you processed it in order!
Emily-chan!
Wow!
You repeated it!
That's right!
That's amazing, Emily-chan!
You're amazing!
But you didn't repeat it many times!
Oh, I see!
Wow!
This is the programming that Emily-chan made!
First, you go forward two blocks and plant a flower behind you!
And now you use the repetition and go forward one block and plant a flower behind you twice!
But now you can only plant three blocks of flowers!
If you change the number of repetitions to three, you can plant four blocks of flowers!
In the same way, you can change the number of repetitions to three and try again!
Here we go!
OK, ENTER!
You did it!
Three!
Four!
One, two, three, four!
You did it!
You became more gorgeous!
You did it!
Emily-chan, you made a nice error, but you did it well!
After this, we will announce Iori-chan's failure!
Black rose again!
After this, we will announce Iori-chan's failure!
Looking at the design drawing, it's a little complicated compared to others!
Will she be able to process it in order well?
Here we go!
OK!
Black rose again!
- Oh, oh! - Oh, oh!
- Good job!
Amazing!
- Good job! - Oh!
- Huh?
- It's quick! - Wow!
- We did it! - Oh!
- Yay! - Wow!
- Great! - Yay!
That's our Yuri!
Let's see the programming we did to process it in order!
- Oh, it's like that! - This is so awesome!
Wow!
At first, I wanted to make Kadan black and white.
But I kept moving and moving blocks, and my eyes were a little dizzy.
So I changed the color of my nose and made it easier for me to understand.
Iori, you're amazing!
When you were programming, you couldn't hear me, could you?
I'm sorry I ignored you.
It's okay. You were trying so hard.
Thank you.
This is Kadan's programming that Iori made.
The movement is complicated and the length of the program is considerable.
It shows how difficult it is to process in order.
First of all, you go forward and use the block you put behind you to make the first row.
Then you move to the right, move to the back, move to the right again, and move forward.
That's how complicated the movement is programmed.
Then you go back, put the block in front of you and make the fourth row.
Once you've done this, you can move to the left, move forward, move to the left again, and move back.
By perfectly programming the complicated movement, Kadan with the blueprint is complete!
Programming the complicated movement, Kadan with the blueprint is complete!
Next up is Shinji's Kadan!
Looking at the blueprint, it looks like he's making a Kadan that looks like "N" from "Nira"!
Will he be able to program it well?
Wow!
What's going on?
Ah! It's "N" from "Nira" Shinji!
Wow!
It's "N"!
It's true!
It's "N"!
I made it cute and pink!
Cute!
Shinji-kun, it's just like the blueprint!
Now, let's see how he programmed it!
There was a blueprint, so it was very easy to do!
Ah, I see!
There was a signpost.
That's right! If you draw a blueprint, you can program it in a very easy-to-understand way,
based on how you should move the agent and order processing!
Shinji-kun, well done!
Thank you!
This is the programming of CADAN that takes up the letters of "n"!
Shinji-kun thought of planting flowers from the first stage,
and then moves to the second and third stages in order to complete "n"!
First, go forward and plant flowers in the lower left corner.
Without planting flowers, you move three blocks to the right!
Then plant flowers in the lower right corner and the first stage is complete!
You're moving to the second row!
In order to plant flowers for three squares in the second row,
first you move one block back and do "forward and up" twice and plant flowers!
Then you move two blocks back and fly one square!
In the same way, you move one block forward and do "backward and up" twice and plant two squares!
Then you move two blocks forward and fly one square!
In this way, even if it looks complicated at first glance,
if you draw a blueprint, you can organize what work you should do to the agent!
This is the three principles of programming!
The basics of sequential processing!
If you master this power, you can apply it in various ways!
The last one is Nanaka-chan!
If you look at the blueprint, you go through the red frame and make a large turn to create CADAN!
Will she be able to do sequential processing well?
Here I go!
It's working!
Big!
That flower!
Beautiful!
Wow! The colors are beautiful!
What do you think?
When I saw it from the front, I wanted to be able to see it all.
You did your best!
As expected of Hanae Lamy! You took your time!
You took your time!
Let's take a look at the programming!
It's long!
I can't see the text!
It looks like a wolf!
Nanaka-chan's pre-processing!
You needed a lot of blocks!
I didn't know what I was doing in the middle of it.
That's right!
Because you go through the red frame and move for a long time, the number of blocks increases!
This is Kadan's programming, which is made by moving the red frame!
If you use the programming you learned in class to make the first row, you move the red frame up without moving the blocks!
And if you move to the fourth row, you go back and plant flowers in front of you!
If you move from the first row to the fourth row like Nanaka-chan and program,
the order for pre-processing increases and the programming becomes very long!
When you program, efficiency is also very important!
But, Nanaka-chan's designed diagram shows that you can plant the tallest flower in the fourth row and the shortest flower in the front row.
Since you wanted to do this, it can't be helped that the processing time is longer!
Programming is a means of achieving what you want to do!
First of all, it is important to have an idea that springs up in you!
How was today's class, everyone?
It was fun!
Even though I was studying programming, I was able to create Nanaka-chan's flower steps and colors.
It felt like I was playing a game!
That's right!
Minecraft is a game, but you can also express what you are thinking in this way!
Yes!
Next time, we will use Minecraft to create flower steps!
Please look forward to it!
This program was brought to you by PROSTA, a programming learning system.