AISubs v3.5
In 2020, programming education will be introduced in elementary school classes.
Now we must have computers in our lives.
For children who dream of the future, it is important for them to know how computers work.
To do that, they need to learn programming.
Learning programming doesn't mean changing the world in the future!
Therefore, in our program, we will challenge programming one step ahead for next year's popularization!
We will use games and music to learn programming with fun!
What's that?
It's "Tagayama"!
Programming star! Singing love songs!
So, everyone in front of the TV, please prepare tablets and computers, and let's go on a programming journey while having fun with us!
Go for it! Programming star!
Hello, everyone!
I'm Kyoko Gunji, the director of "Go for it! Programming star!" and I'm going to create a future programming star.
And we will be taught programming by Mr. Ando.
Thank you for having us!
Mr. Ando teaches programming learning series "Professor of Professionals" which can be learned in more than 100 schools all over Japan.
Today, we will study with everyone in front of the TV again.
"The young wind of Shonan-no-kaze" and "Nira Shinji-kun".
From Sashihara Rino-san Produce's "=LOVE" to Ootani Emiri-chan, Noguchi Yori-chan, Satake Nonno-chan, and Not=me's Ochiai Kirari-chan.
Before today's mission, let's review what we've done so far.
"Programming" is creating commands.
"Algorithm" is efficiently programming.
Since last time, we've been learning programming using the popular game "Minecraft's Makecode".
To learn programming using "Minecraft", we use "Minecraft Education Edition".
And "Makecode" is using blocks to program.
By doing so, we're giving commands to robots called "agents" in the game.
To create an agent, press "C" on the keyboard and select "When you enter chat command "jump" from the player's menu on the makecode screen.
Let's change "jump" to "t".
Next, from the agent's menu, connect "teleport agent to the west" and change "west" to "east".
Once you've done this far, click the "Execute" button in the lower right and press "Enter" to change to the chat command screen.
When you type "t" in the chat, an agent will appear facing east at your feet.
When you're done revising, let's run today's mission, "Clock"!
"Equal Love" programming is being streamed uncut on Hulu! Don't miss out on their nice errors!
This program is brought to you by Prost of the Programming Learning System.
Let's start today's mission.
Today's mission is...
"Let's move by truck".
In Minecraft world,
there is a thing called "truck".
In Minecraft world, you can travel fast.
It's hard to walk quite far, isn't it?
Yes.
In Minecraft world,
there is a person who made something amazing
by using a truck.
Let's see his work.
This is made by my friend.
Let's see his work.
This is like a castle.
It's very wide.
When you put it down,
you can ride it by clicking it.
When you change your viewpoint,
it looks like this now.
I'll change my viewpoint.
It looks like an amusement park.
It looks like this now.
It's faster now.
Even the sound is realistic.
Yes.
Something is flying.
Is it a dolphin?
I'm surprised.
It's amazing.
Can we make it?
Yes, we will make it
with this program for a long time.
Yes, we will make it with this program for a long time.
It's very realistic.
It's amazing.
If you practice Minecraft, you can make a truck like this.
Yes, you're right.
The first study is
Drive a rail straight.
The first study is
Drive a rail straight.
In order to make a truck run,
we need a rail like this.
First of all, let's learn how to drive a rail.
Yes.
Let's get started immediately.
First, the red one
The lower part is called "red stone block"
This serves as a battery
There is an acceleration rail on top of it
and a normal rail at the end of it
If you extend the rail,
you can bend it in the middle, go straight, and bend it to the left and right
Let's make this kind of complicated rail
First of all, I'd like to show you how to install this acceleration rail which is the start
Before making the rail, let's give the agent the necessary blocks
Press "e" button on the keyboard
Select "red stone" which is the driving force and "acceleration rail"
Select "normal rail"
Then, right-click the agent and select "red stone" in slot 1
Select "acceleration rail" in slot 2
Give "normal rail" in slot 3
First of all, dig the ground and put "red stone" block
I've dug the ground in advance and put "acceleration rail" on it
Dig the ground and put "acceleration rail" on it
Let's program it with the agent
Select "chat" command from "player" and take it out
Then, we're going to pull the rail forward, so select "f" this time
When you enter "chat" command "f"
It's "f" in front of "forward", isn't it?
Yes, it is
Then, first of all, dig the "red stone" block which is the battery
From "agent"
First of all...
Destroy "front"
First of all, destroy "front"
Please bring it
Then, I will write it down
There is a redstone block in "number one"
In "slot one"
I will specify "slot one"
For that, "agent"
It is in "below"
I will make "agent" "slot number one" effective
Then, "agent"
I will put it "behind"
I will put it "below"
After putting it firmly
With this, you can destroy "redstone" block
Then, "agent" will move "one step"
One step
After moving "one block" "one step"
Now, "slot number" of "agent"
"Make "two" effective"
"Two" means "acceleration rail"
It will be "acceleration rail"
After making "two" effective
I will put it "behind" of "agent"
I will put it "behind"
Then, what will happen?
With "f"
I will put it "behind"
Now, it is facing sideways
After this, if you put the rail
Automatically
The rail will move forward
Yes
Next
I will put a normal rail
This time, a normal rail
The slot number
Will be "3"
It was included earlier
I will put it "3"
As before
As with the acceleration rail
Before
After moving one block
Behind
I will put it "behind"
This part
I will put a normal rail
Let's try it
Press "f"
I will put it "behind"
However, for a normal rail
It is better to put it "longer"
I will put it "longer"
I will operate it
What should you do?
Repeat it
That's right!
Repeat it
From "loop" to "repeat"
Now, this part
Yes
If you repeat it four times
Four rails will move forward
That's why
I will try it
Then, "f"
Yes
I will put it "behind"
To pull a straight rail
From "player" menu
Select "chat command jump"
Change "jump" to "f"
From "agent" menu
Select "destroy front"
Change "front" to "down"
Next, from "agent" menu, select "make slot number 1 valid" and "place it behind"
Let's change "behind" to "down"
Next, from "agent" menu, select "make slot number 1 valid" and "place it behind"
Next, to pull a normal rail, duplicate "make slot number 2 valid" and "change 2 to 3"
Next, to move "front" one block, duplicate "place it behind" and "repeat 4 times" from "loop" menu, "agent" will pull a normal rail
Let's start with Shinji-kun. He's our senior, so let's see how it goes.
This is bad.
It's "f", right?
Yes! It worked!
Wonderful!
Next, Nonno-san.
Yes?
"f", please.
"f", "f"
Here I go.
"f", "f"
Yes! It worked!
Now that you've done it, let's move on to the next study.
Bend the rail at right angles.
Let's move on to the next study.
The next study is "bending the rail at right angles".
If the rail is straight, it won't move forward when there is an obstacle.
That's right.
What should we do to bend it?
From "player" to "chat" command, "jump", right?
Bring it and make it "n".
Here is the block we've used so far.
Right-click and "repeat" from here to "chat" command 3.
After repeating, bring it here.
Next, change "agent" to "left".
Change it to "right".
Then, repeat this block again.
Repeat this one, too.
Then, you can place normal blocks in the left direction.
Let's do it now.
"jump" from here to "l".
This doesn't change much, but if you press "f" after this,
it will bend and connect automatically.
To bend the rail directly, select when you enter the chat command "jump" from the player menu and change "jump" to "l".
Next, duplicate "slot number 3" of the program that pulls the rail straight down into effect.
By duplicating it, you don't have to look for blocks and it's convenient.
Then, from the agent's menu, change "direction" to "left" and connect it!
Next, move one block forward and duplicate "put it behind" and connect it!
The agent will pull the rail to the left!
In addition, by duplicating this program and changing "l" to "r" and "left" to "right",
the agent will pull the rail to the right!
If you can do it up to this point, today's work is done! Let's compete to see who can pull the rail the furthest!
From now on, it's work
Everyone, you have learned how to pull the rail, so let's decide who can pull the rail for the longest time
From now on, you will be asked to pull the rail for as long as possible in a limited time of 5 minutes at the place where obstacles are placed
You can't pull the rail at a place with obstacles, so while using the "R" and "L" you learned earlier,
avoid obstacles and pull the rail well
We made a program to create obstacles
It looks like this
Obstacles are generated like this
Move it with "command" "zero"
zero
Wow!
Are these obstacles?
Yes, they are
This is the obstacle course created by the teacher
And the students have arranged the agents like this
Now, who will be able to pull the rail for the longest time?
The time limit is five minutes. Ready, start!
Yes, let's do our best!
Now, the rail pulling competition that started in one go
It's fast, isn't it?
Ah!
Huh?
First of all, I entered "f" and pulled the rail straight.
One more time?
t
Here, Shinji-kun, repeat four times and change it to two times.
With this, the speed will decrease, but you should be able to move in detail.
First of all, it looks like it's going well.
Yes.
Right?
Yes, teacher.
That's why, since the width of "l" and "q" is different, well, you can choose where you want it.
Ah!
Oh!
Iori-chan's rail and Kirari-chan's rail have stuck together!
On the other hand, Nonno-chan, who is working alone in the distance, is steadily extending the rail.
With half of the time limited, the progress is as you can see.
Which is my line?
Ah!
Kirari-chan's rail has snapped and she is rebuilding it.
Oh no, Shinji-kun, you pushed the agent towards the wall and the railroad was cut off.
And that's it for now!
Who was the one who connected the rails to the furthest place?
"=LOVE" programming is being streamed uncut on Hulu! Don't miss out on their nice errors!
Who can connect the rails to the furthest place?
Now you know how to line up the rails, let's learn how to make a truck run!
To put a truck on a rail, press "e" button on the keyboard and select "truck".
And if you align the cursor with the rail and right- click it, you can get on the truck!
And if you press "w" button, the truck starts moving!
Let's see how long it took to connect the rails!
First of all, Shinji-kun!
Yes, please go forward with "w" button.
I could only go this far.
No way!
The reason is...
I went too far and tried to go back, but I broke it and made a lot of holes.
It was pretty bad.
Next up is Emily-san!
Yes!
Let's take a look!
I'm putting in the truck.
Yes, it's on!
It's moving!
Wow!
Yes!
- I'm jealous. - Yes.
- Next, Iori-san! - Yes!
- Yes. - I'll go.
- Everyone's amazing. - And, double. - Double?
- Oh, fast, fast!
- Eh?! Eh?! Eh?! Huh?!
- Eh?! Wait, wait! Wait! Wait!
- Tell me about it! Tell me about it! - I'm sorry!
- I got connected with Sensei-chan! - Ah, I see!
- Eh?! Wow! I was trying hard to connect for a long time, but... - Yes.
- I'm sorry. - I'm sorry.
- Sensei, but you're not connected right now, right? - Yes, I'm not connected, so I went to someone else's track.
- Then why weren't you connected?
- I'll explain why Iori-chan couldn't connect the rails!
- That's because, after Iori-chan pulled the rail, Kirari-chan connected the rail!
- That's why, even if Iori-chan tried to bend the rail to the left, it was already connected to another rail, so she couldn't bend it to the left!
- Ah! - Ah!
- I'm sorry!
- Next, let's look at Kirari-chan's rail!
- Shall we? - Yes!
- That means... - Ah!
- Ah!
- Eh? Did it come back? - It came back!
- Yay!
- Kirari-chan went to Iori-chan's starting point!
- Kirari-chan and Iori-san have the same length now! - Ah, that's right!
- Well, you're on good terms! - Ah, I'm glad!
- Lastly, let's look at Nonno-san's rail!
- I'll go ahead! - Yes!
- Wow! - She did it quite alone!
- Wow! - Wow!
- She did it quite long!
- Yes! - Wow! - She did it for a long time!
Now, let's look at who did it for the longest!
- Ah, here! This is...
- Yes, this is Emily-san's rail! - Yes!
Therefore, I think Nonno-san did it the longest!
- Wow! - I see!
- So, Nonno-san did it first! - Yes!
- Congratulations! - Congratulations!
Today's review!
This time, we pulled the rail to make the truck run!
To pull the rail straight...
Select "Chat Command Jump" from the player's menu!
Let's change "jump" to "f"!
From the agent's menu...
Select "destroy front" and...
Change "front" to "down"!
Next, from the agent's menu...
Select "make slot number 1 valid" and...
Select "put it behind" and...
Change "put it behind" to "down"!
Next, from the agent's menu...
Select "make slot number 1 valid" and...
Change "slot number 1" to "2"!
Next, in order to place the acceleration rail, select "put it behind" from the agent's menu!
Then, in order to pull the normal rail, duplicate "slot number 2" and change "2" to "3"!
In addition, in order to move "slot number 1" forward, duplicate "slot number 2" and change "2" to "3"!
In order to pull the normal rail, select "slot number 2" and change "2" to "3"!
In Furu, more than one million people around the world register for the popular game "Minecraft"!
We're delivering original contents about learning the educational programming functions!
Check it out!
This program was brought to you by PROSTA, a programming learning system.