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 want to have a 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 the program, we will challenge programming one step ahead for the first week of next year!
We will learn programming with games and music!
What is it?
It's a song!
A programming star sings a song of love.
Therefore, everyone in front of the TV should prepare a tablet or a computer and go on a programming journey while having fun with us!
Go for it! Programming star!
Hello, everyone!
To create a programming star of the future,
Mezase! Programming star!
I'm Kyoko Gunji, head of programming department.
And Ando-sensei is going to teach us programming.
Thank you for having me.
Ando-sensei teaches programming in more than 100 schools all over the country.
He is now working as a professor of programming,
which is a popular programming learning series.
Today, we will be studying with everyone in front of the TV again.
"Shounen no Kaze"'s young master, Nira Shinji-kun.
"equal love" produced by Sashihara Rino-san.
Emiri Ohtani-chan, Yori Noguchi-chan, Hana Oba- chan.
And "not equal me"'s Moeko Kanisawa-chan.
Before today's mission, let's review what we have learned so far.
Programming is creating commands.
Algorithm is how to execute those programs efficiently.
Since last time, we have been learning programming using the popular game "Minecraft's Makecode".
In order to learn programming using Minecraft,
you can use "Minecraft's Education Edition".
And "Makecode" is how to execute programs using blocks,
by giving commands to robots called "agents" in the game.
How to execute "agents" is by pressing "c" on the keyboard and selecting "chat command" "jump" from the player's menu on the "makecode" screen.
Let's change "jump" to "t"
Next, from the "agents" menu, connect "agent" to "xx" and "teleport" to "west" and change "west" to "east"
Once you've done this much, click the "execute" button in the lower right corner
Press "enter" and change to "chat"
When you type in "t", "agent" will appear facing east at your feet
Once you've done the review, let's dig the ground for today's mission!
"=LOVE" programming is being streamed uncut on Hulu! Don't miss out on their nice errors!
This program is brought to you by CROSTA, a programming learning system.
Today, we are going to study the basics of make code using Minecraft.
But, today's mission is "Digging the ground".
Oh, digging!
Teacher, when do we need to dig the ground?
This is the basic of Minecraft, but there are various treasures such as stones and iron when we dig the ground.
There must be gold and diamonds in it, and we dig the ground to get treasures.
Yes.
Before starting the mission, there are people who continue to dig the ground in Minecraft and make a huge underground maze.
Let's take a look at the work first.
I'm curious about it.
It's something that shines below.
Oh, it's true.
It's really a maze.
It's like this.
Wow!
Amazing!
When you enter it, the program is over, so I'll show you only from above.
Wow!
There are people who continue to make this forever.
It's like this.
It's a maze, so you can't get out of it.
It's like a horror game.
Wow!
You won't know it until you try it.
That's right.
The first study is "Digging the ground".
This first study is "Digging the ground".
Yes.
Teacher, please.
It's very easy to dig the ground, so let's do it together.
Yes.
"Player", "Chat" command.
Since you dig below, "Down" and "D".
Yes.
Then "Agent".
Destroy "front".
Change "down" to "destroy".
Then "Agent".
Move "front" one block.
Then move "down" one block.
That's all.
Dig and move "down".
That's all we're going to dig this time.
To make "Agent" dig a hole...
From "Player" menu...
Select "chat" command "jump".
Change "jump" to "d".
From "Agent" menu...
Connect "destroy" to "front".
Change "front" to "down".
Then...
From "Agent" menu...
Connect "move one block" to "front".
Change "front" to "down".
Then...
"Agent" will dig one block for you.
Let's check how "Agent" digs a hole.
Please dig a hole.
It's "d".
Wow, it's cold.
Thank you.
Oh, you did it!
Oh, I dropped it!
But there are people who drop it by mistake, right?
Even if you press the button below, only agents can do it.
Now that you've done it, let's move on to the next study!
Let's use conditional division to pick up achievements!
In the study we're going to learn from now on, we'll use conditional division.
Conditional division is a program that you use if and only if.
This time, we're going to do programming like "if you find achievements, you pick them up".
Now, where do we use conditional division?
For example, dirt comes up.
But do you need dirt?
If you had diamonds and dirt, which would you choose?
Diamonds.
So, you only throw away the dirt and get the diamonds.
Let's make a program like that.
First of all, you use variables.
You use variables.
After that, you use conditional division and combine them.
Now, let's try it.
From "variables", you add "variables" and "block".
Let's make a program like that.
After that, from "variables", you add...
If you set "variables" to 0 and "blocks" to 0, you can choose.
And what you do is...
you put what you found in the "blocks" to the agent.
What does it mean?
In this way, you can distinguish between gold and dirt.
That's right.
So, if you go down to the agent,
you can see which "blocks" are in front of you.
That is, "front" means "bottom", right?
That's right.
Why?
Because you can confirm "bottom".
Then, here...
"logic".
This is also new.
At least, we did it.
If you don't have "what", you can bring it here.
So, if "what" comes up...
We just looked up what kind of block it is...
So, if it's "soil"...
In this "logic"...
This is "cravel"...
In "cravel" variable...
The previous "block"...
"Block" is...
It goes over "waterfall", but it's "block" again.
And here...
Yes.
If this "block" is "soil"...
"Soil"...
If it's "soil"...
It doesn't do anything.
If it's not "soil", it's definitely "treasure".
So, here...
"agent"...
We put it in.
It's easy to understand.
What we collect here...
There are various items...
There are various "treasures".
There are various kinds of "treasures".
Among them...
Yes, there are many of them.
Among them...
With this "block"...
Properly...
Yes.
This "block" is...
Let's look for "gold".
Yes, "gold".
If it's "gold", we'll collect it.
Amazing!
Yes.
And...
Next...
Let's duplicate this...
Yes.
Next...
"gold" or "diamond"...
Yes.
Let's collect "diamond".
To make "agent" collect only "treasure"...
We'll use "variable".
From "variable" menu...
Let's add "variable".
Let's name it "block".
Next...
In the program we dug a hole in...
From "variable" menu...
Let's make "variable" "zero".
Let's change "variable" to "block".
From "agent" menu...
Let's choose "confirm front" and see what "block" we have...
Let's change "front" to "back"!
From "logic" menu, if it's "true", circle it. If it's not, select "circle".
Next, from "logic" menu, select "zero" = "zero" and from "variable" menu, select "block" and from "zero" on the right, select "block" from "block" menu.
Let's change "block" to "soil".
Also, we won't pick up "soil", so we won't put commands under here.
Next, from "agent" menu, select "collect items".
From "block" menu, select "block" from "item" section and select "gold block" you want to pick up.
In addition, duplicate it and change "gold" to "diamond".
Now, let's check everyone's programming skills.
Ready, go!
Everyone's depth is different.
I got it.
One more time?
I got it.
We all got it.
We all got it, right?
If you look closely, only the soil is left.
We didn't pick up the soil.
Only "gold" has been picked up.
If you've made it this far, today's work is...
"Collecting ore competition"!
On Wooroo,
there is a popular game that has more than one million people registered worldwide,
"Minecraft"!
Learning the educational programming function of "Minecraft",
original content is being distributed!
Watch it!
Now, it's work time.
Everyone, now you know how to dig the ground and how to pick up the ore.
Yes.
Now, let's see who can pick up the most ore!
Yes.
Let's do it!
Here is the course made by the teacher.
24 gold, 8 diamond, placed randomly.
There are a lot of gems on this course, like this one.
There are two kinds of gems.
Gold is 1 point.
Diamond is 5 points.
But it looks very difficult.
However, I want you to move the agent and collect as many gems as you can in one minute.
On the way, there is a red and white block called "tnt".
This is a bomb.
If you collect all of them, you will lose 5 points in one minute.
So, please go back and collect gems.
The person with the most points in the first half and second half will win.
Good luck!
Before we start the competition, let's add programming to move the agent back and forth.
Let's duplicate the previous three programs with right click...
First, to move the agent forward...
Let's change "d" to "f" and "b" to "f".
Next, to move it up...
Let's change "d" to "u" and "b" to "f".
Next, to move it back...
Let's change "d" to "b" and "f" to "f".
There is also "tnt" on the course...
Let's duplicate the block to collect gems with right click and change "tnt" to "gems".
OK, first half of the match, get ready, start!
A match of collecting gems which started at once.
Everyone digs the ground with "d" and "t" keys.
Emily gets a gold block on the right.
How will they dig after this?
Here, Hana-chan and Iori-chan get a gold block.
Shinji-kun is digging the deepest.
Can they collect a lot of gold blocks?
Moeko-chan has collected 6 gold blocks so far.
There is little time left.
It's almost over.
4, 3, 2, 1, time's up!
Let's check how much gems they have collected in the first half of the match.
Iori-chan and Moeko-chan, who have collected nine gold coins, are at the top of the table.
To catch up with them, Shinji-kun, Emily-chan and Hana- chan have collected six gold coins.
Red, yellow, blue, blue, orange, yellow, orange.
Let's move on to the second half of the match.
The diamonds you didn't get are sleeping down there.
While avoiding TNT, I hope you can get the diamonds.
Now, let's move on to the second half of the match.
Who will collect the most gems?
"=LOVE" programming is being streamed uncut on Hulu.
Don't miss their nice errors!
The battle to see who collects the most gems!
The current top players are Iori-chan and Moeko- chan, who have collected nine gold coins.
Who will win the battle?
Now, it's the second half of the match.
Ready, set, go!
The second half of the match has started.
Iori-chan and Moeko-chan, who have collected the most gems in the first half of the match,
are carefully picking up gems.
Wow, that's a lot.
Here, Emily-chan gets a diamond!
Will she roll it back from here?
Everyone else is aiming for the diamond and digging deeper.
30 seconds left!
That's fast!
Iori-chan is also aiming for the diamond and digging deeper.
This way, this way, this way!
Here, Shinji-kun gets a lot of diamonds!
The top is up, right? The bottom is down, right?
Someone just said "TNT"!
Ah, here comes Emily-chan's "TNT" with two coins!
Minus five points!
Five seconds left!
There's only a few seconds left in the time limit.
Who will win the battle?
Time's up!
Let's take a look at the scores.
Let's start with Shinji-kun.
Nine gold coins, three diamonds.
I was thinking about this show and decided to get diamonds.
Thank you!
Fifteen plus nine is twenty-four.
Twenty-four points!
I did it!
Shinji-kun got nine gold coins, three diamonds and twenty-four points.
Next up is Emily-chan!
Wow, amazing!
But...
She picked it up, didn't she?
She picked it up!
The bomb...
She just happened to...
The diamond...
Six gold coins...
But...
The bomb...
Oh, I see!
Then you have to draw it, right?
Minus five points.
Five points is a lot!
From forty-one points to five points...
Thirty-six points!
Nine points!
But it's expensive!
Emily-chan has six gold coins...
Seven diamonds...
And...
One TNT...
Thirty-six points!
Next up is Iori-chan!
She's picking up a lot of gold!
Gold...
But I don't remember picking up this much gold!
I don't remember picking up this much gold!
Huh?
Why is that? I don't know...
Iori-san has a total of twenty-nine points!
Wow!
Thank you!
Iori-chan has...
Fourteen gold coins...
Three diamonds...
Twenty-nine points!
Next up is Moeko-chan!
But you have three diamonds...
Nine gold coins...
Twenty-four points!
Yes!
Moeko-chan has...
Nine gold coins...
Three diamonds...
Twenty-four points!
So far, Emily-chan has had thirty-six points!
Will Emily-chan win the championship?
Last up is Hana-chan!
She's picking up a lot of diamonds!
Wow!
Thirty-nine points!
Wow!
I did it!
Wow!
Hana-chan has...
Nine gold coins...
Six diamonds...
Thirty-nine points!
And so...
The champion this time is Hana-san!
Thank you!
At first you struggled to go in one direction, but you won first place in the game!
At the end, I grasped a trick and followed the same direction all the way, and I reached the zone with a lot of diamonds and won a lot!
I see!
Next week, we will learn programming using Minecraft more and more, so please look forward to it!
Today's review
This time, we dug a hole!
To make an agent dig a hole, select when you enter the chat command "jump" from the player menu!
Let's change "jump" to "d"!
Connect "destroy front" from the agent menu and change "front" to "down"!
Next, connect "move one block forward" from the agent menu and change "forward" to "down"!
Then, the agent will dig one block for you!
To make the agent pick up only ore, you need a variable!
Select "add variable" from the variable menu!
Let's add a block and a name!
Next, in the program you dug a hole in earlier, select "set variable from variable menu to 0"!
Let's change "variable" to "block"!
Select "confirm front" from the agent menu and change "front" to "down"!
From "logic" menu, if "true", choose "xx", if "not", choose "xx" !
Then, from "logic" menu, choose "0" = "0" and from "variable" menu, choose "block" and from "right" menu, choose "block" from "block" menu.
Let's change "block" to "soil" !
And, we don't pick up "soil", so we don't put "command" under "soil" !
Then, from "agent" menu, choose "collect items" !
From "block" menu, choose "block" from "item" section and choose "gold block" you want to pick up !
In addition, you can duplicate "block" and change "gold" to "diamond" !
Hello, everyone. I'm Yori Noguchi.
I'm Emiri Ohtani.
I'm Kiara Saito.
I'm Remy Not=Love's long-time fan.
We have an announcement for you.
"Mezase!" Programming Star has decided to open an event by jumping out of the screen.
On September 28th, Remy Not=Love will appear.
And on the 29th, Not=Love will appear.
We're looking forward to seeing you all !
On Hulu, you can watch the original contents of the popular game "Minecraft", which has more than one million people registered in the world, and learn the programming function of its educational version.
This program was brought to you by Frosta of the Programming Learning System.