AISubs
In 2020, programming education will be introduced in elementary school classes.
Computers are a must in our lives now.
It is important for children to know the mechanism of the computer.
To do that, they need to learn programming.
Learning programming is not just a dream to change the world in the future.
So, we will challenge programming one step ahead for the first week of next year.
We will learn programming with fun using games and music.
What is it?
It's a potato.
So, everyone in front of the TV should prepare tablets and computers.
Let's go on a programming trip while having fun with us.
Go for it! Programming Star!
Hello, everyone.
I'm Kyoko Gunji, the class president of Mezase Programming Star, which creates future programming stars.
And the one who will teach us programming is Mr. Ando.
Nice to meet you.
Nice to meet you, too.
Mr. Ando is the class president of Programming Star, which is now a popular series of programming lessons that can be learned online and in class by more than 100 schools nationwide.
This time, I'm going to study with everyone in front of the TV again.
Mr. Shinji Nira, the young husband of Shonan no Kaze.
From Sashihara Rino's equal love.
Emiri Ohtani and Iori Noguchi.
Hana Oba.
And Nanaka Tomita of Not Equal Me.
Before today's mission, let's review what we've done so far.
Programming is to create an order book.
Algorithm is to program efficiently.
We've been learning programming using the popular game Minecraft's make code since last time.
Make code is to use blocks to run a program.
We're giving commands to a robot called an agent in the game.
How to get an agent is to press C on the keyboard and go to the make code screen.
Select when you enter the chat command jump from the player menu.
Let's change jump to T.
Next, from the Agent menu, connect the Agent to 〇〇 to teleport to the west and change the west to the east.
Once you've done this, click the Execute button at the bottom right.
Press the Enter key to switch to the chat screen.
When you type in T, an agent will appear at your feet facing east.
Next, Shinji-kun, please tell us how to move the agent.
Press C. Go to the Player tab.
Go to the Player tab and press the chat command.
Press the jump button.
Press F to jump. Press Agent to move one block forward.
There is a green play button at the bottom right.
Click it.
Press Enter.
Press T first.
Look at this.
Enter.
Then, look.
It's close to everyone.
Next, press Enter again.
Enter.
And then,
below this,
It's the chat.
In the chat column,
press F next.
Enter.
Press F.
Enter.
Wow!
I just instructed you to press Enter.
Yes.
Today's mission.
Build a house.
In Hulu,
we can see the programming of Equal Love.
Don't miss their nice error.
This program is brought to you by PLOSTA, a programming learning system.
Today, we will learn the basics of MakeCode using Minecraft.
Today's mission is to build a house.
Build a house.
This mission will be challenged over two weeks.
To build a house,
you need to collect materials and make a roof.
Let's build a house step by step.
Before you build a house,
let's see what kind of house you can build in Minecraft.
Wow!
This is called Nobunaga.
This is made by our company.
This is made by our staff.
I'd like to go from here.
Wow!
There are clouds, too.
Joka-machi reminds me of the Sengoku period.
There is a townscape.
There is a village, too.
Let's go to see the castle.
If you go up, you can see the castle.
The castle is so big.
It's a castle.
You can go inside.
So, let's go inside.
I went inside.
I want this.
You can go inside.
It's a different dimension.
Can I build it someday?
Yes, you can.
We don't do everything by hand.
We make programming.
Let's take the first step to build a castle someday.
Today's study.
Let's make an agent cut a tree.
We can't build a castle right away.
What kind of house should we build first?
In the world of Minecraft,
It's called a tofu house.
It's a simple square house like tofu.
I think that's the first thing to build.
Let's start the first study.
Let's have an agent cut down a tree.
In order to build a house, you need a tree as a material.
What should I do to cut down a tree?
There is a prepared tree here.
I'll show you how to cut down a tree using this.
First, bring the agent to your feet.
Then the agent will come to you.
Destroy the tree in front of you.
C
Use the chat command from the new player.
It's the first command, so let's set it to 1.
Destroy the tree in front of the agent.
If you destroy the tree, the tree will be removed.
Then pick up all the trees under the agent.
It's done.
Then execute it.
Then the agent took one tree.
To make the agent cut down a tree,
Select the chat command Jump from the player menu.
Change Jump to 1.
Destroy the tree in front of the agent.
Let the agent pick up all the trees.
If you can do this, teleport the agent in front of the tree you want to cut
and type 1 on the chat screen to cut the tree
And if you put the cursor on the agent and right- click
you can confirm that the agent picked up the tree you cut
This time, as a sample, it's a tree that's lying down
You can go vertically
If you break it, I think it's good to go up
Agent
Once you destroy the front and pick up everything
Next, move the agent up one block
Then you can move on to the next action
But
The teacher cut the tree like this
If there is a branch like this, the agent cannot move
Before moving up
Right-click on the agent and destroy the top
Move
Then you can go after destroying the branch
This
Keep repeating
If it's dead, repeat
This is new
If it's dead, repeat
Then what will happen?
Please take a look
The movement is interesting
Let's go
If you do 1
Great!
It goes like this all the time
Don't go!
Come back!
It goes forever
There is no way to stop
If you scratch here, it's a condition
When you put this in
As a condition, agent
If you can confirm the block to the agent
I'll put it back in
Then I'll do this
If you can confirm
Then it will stop when the tree is gone
I will go
With this, 1
It's being scraped
It stopped
If you use the condition and repetition well like this
The tree will be cut efficiently
To cut the tree growing vertically
From the agent's menu in the previous program
Connect the agent to move one block forward
Let's change forward to up
And if there is a leaf growing on top
The agent can't move forward
Let's make the agent destroy forward
Change forward to up
If it is as it is, even if the tree is gone, it will go up
From the loop menu, if it is true, it is sandwiched by repeating
From the agent menu in the true part, check if there is a block in the agent and combine
If you can do this, let the agent teleport in front of the tree you want to cut, and hit 1 on the chat screen to cut it until the tree is gone
Repeat
I did it!
You did it!
Let's start with Hana-san who said she did it
T
Ah, this is it
T
Hit it here
T
Enter
Yes, I did it
With this, press 1
Just press 1
Wow
I did it!
I wonder if it stopped
Ah, it stopped!
It stopped
It's hard to see
It's like programming, isn't it?
It's amazing
I'm happy
If you've made it this far, in the next study, let's pile up the trees you cut!
We're going to make a program to have you pile up the trees you've cut.
First, call the agent to your place.
When you click, the agent's item box will open.
Let's move the other trees to your belongings.
For example, there's this one.
Some people have dynamite.
The top one is the agent's, and the bottom one is your belongings.
The agent's item box has a slot from 1 to 27.
It's called a slot.
It's a place to put it in.
There's a case where you have to specify the number, so please remember.
There are 27 types of items.
This time, there's just wood in there.
If there are two types of wood, it goes in here and here.
Please remember that.
There are 10 logs here, so you just have to repeat it 10 times.
Let's make a program with this.
This is the second program, so I'll set it to 2.
If you move one agent up, you can put it under the agent.
I have 10 of them, so please count them yourself.
In addition, if you have several types of trees,
As I said earlier, I'll put the first one in this item box, but I think there's a case where you put the second one.
If this is empty, I'll give you one order to put the next one.
I'm going to put one in here.
If you run out of items, you can use the next item.
This is on and off.
If you run out of items, you can use the next item.
It's like off.
It's off.
I'll try it.
What a genius!
It's so expensive.
Like this.
To make the agent pile up the cut trees,
select the chat command Jump from the player menu.
Let's change Jump to 2.
From the agent menu, move the agent forward 1 block.
Let's connect the agent to the back.
And move the front up and the back down.
Next, from the loop menu,
repeatedly insert the number of trees the agent has.
Once you've reached this point,
add a setting from the agent menu.
Connect Move and Place to Move.
Change Move to Use the next item when you run out of items.
Also, change Gi to Shin.
When you connect this block,
when you run out of slot 1,
pile up the item from slot 2.
And when you type 2 on the chat screen,
the agent will pile up the cut trees.
If you can do this, today's work!
Let's compete who can collect the most trees!
In Hulu, there is a popular game that has more than 100 million people registered in the world, Minecraft.
We are delivering the original content to learn the programming function of the educational version.
Watch it!
Now that the study is over, the next is work.
Everyone, I just made a program to cut trees and pile them up.
I would like to compete who can collect the most trees.
This is burning.
The time limit is 3 minutes.
3 minutes?
When the time comes, everyone will pile up the collected trees.
The person who has collected the most trees will win.
Please do your best.
Any tree is fine, right?
Any tree is fine?
Any tree is fine.
I understand.
Now, let's start.
Ready, start!
A pile-up competition that started at once.
Will everyone be able to give proper instructions to the agent?
When I look at Emily,
I can't see it.
When the agent comes out, I can't see it.
The position of the tree is important.
As expected, she is an excellent student.
She will cut the first tree.
And Nanaka-chan, too.
I did it.
On the other hand, Hana-chan.
This is how you do it.
Yusyu-chan.
And?
When it's over, use the transport.
The agent hasn't cut a tree yet.
What about Iori-chan?
Agents always turn to the east, so be careful where you stand.
There is only a little time left.
Agents, please face the direction of the trees.
Who collected the most trees?
Hikou Love's programming is being broadcast live on Hulu.
Don't miss their nice errors!
Who will be the first to collect the trees?
Who will be the first to pile up the trees?
We will pile them up all at once.
Did you put the numbers in the chat command?
Yes, it's 2. If it's 1, we will cut the trees.
Then, everyone, please pile them up.
What? Why are you standing like that?
Sensei, I'm doing a nice error.
What do you mean?
Shinji-kun, nice error.
Agents are not on top, but side by side.
What is this?
Please look at this.
Is it here?
You have to put it up.
As I was told, it's up.
I'm sorry.
Let's go up from there.
Put it down.
Let's go up at a right angle from here.
Let's go.
From here, the rest of the trees...
There's a lot of them!
Shinji-kun's program had this part facing forward, so he couldn't stack up the trees.
To stack up the blocks, it's correct to move the agent up one block and place the tree down.
Let's all be careful when programming!
How many trees did the others stack up?
I found it! It's like a hidden technique.
While the agent is working, you can find other trees.
I see.
If you do that, you can collect a lot of trees.
You can read it right away when you're done.
It's a sign of growth!
The winner is Emil-san!
As you can see, the results of the others are...
Iori-chan is in second place.
Hana-chan couldn't collect any trees in the last round.
Today's summary.
This time, we made the agent cut down the trees.
To make the agent cut down the trees, select the chat command Jump from the player menu.
Change the jump to 1
From the agent's menu, destroy the tree in front of the agent
Once you've done this, teleport the agent in front of the tree you want to cut
and hit 1 on the chat screen to cut the tree
Then, align the cursor with the agent and right- click to confirm that the agent has picked up the cut tree
In Hulu, there's a popular game that has more than 100 million people registered in the world, Minecraft
Learn the programming function of the educational version and watch the original contents!
This program was brought to you by Prosta, a programming learning system company