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 a dream to change the world in the future.
So, we will challenge programming one step ahead for the finalization next year.
We will learn programming with fun using games and music.
What is that?
It's Takayama!
Programming star, singing in love song
So, everyone in front of the TV should prepare tablets and computers.
Let's go on a journey of programming while having fun with us.
Go for it! Programming star!
Programming star, singing in love song
Shinji Nira is a member of Shonan no Kaze and also a solo artist.
Shinji Nira
In 2017, he made his debut with Rino Sashihara.
He is a member of a 12-member idol group, Equal Love.
Equal Love's sister group, Not Equal Me, was born in February this year.
They have been learning programming together since April.
We are taught by more than 100 teachers all over the country.
Mr. Noboru Ando, who is the principal of PROSTA,
a popular series of learning programming,
which will begin next year.
We have created SUGOROKU by using conditional division,
making dice,
and programming events that occur when you stop at a square.
This time, let's review the conditional division we learned in June.
Conditional division is one of the three types of programming,
such as sequential processing and repetition.
The first thing I learned in April on the show was sequential processing.
Processing the programming from top to bottom in order.
The point was to line up the blocks in the order you want to move.
And what I learned in May was repetition.
Repeating the programming over and over again.
It has become possible to process efficiently without lining up the same blocks.
And this month, I made SUGOROKU using conditional division.
On June 1st, we learned how to make a dice using variables.
Let's review it again.
Mr. Prosta, please.
A variable is a bucket that contains the number of changes in the program.
A simple example of a variable is the number of dice eyes.
If you roll a dice, the numbers from 1 to 6 change every eye of the dice.
To roll a dice, select the number you want to roll from the dice palette.
Name the new number and click OK.
Once you've done that, press the Space key from the event palette and
connect the number you want to roll from the number palette to 0.
Since the number of eyes of the dice is random, select the number from 1 to 10 from the event palette and
change the number of 10 to 6.
Press the Space key to randomly display the number of eyes of the dice.
Once you've done that, let's prepare the illustrations from 1 to 6.
The point is to draw them in order from the top.
Next, select the costume from the appearance palette and make it into a circle.
Next, connect the number of eyes of the dice from the number palette.
Once you've done that, the eyes of the dice and the illustrations will change at the same time.
Once you've done that, let's take a look at Emily's dice.
Let's take a look at Emily's dice.
You have a high chance of getting a giraffe.
Yes, I drew a giraffe.
You're good.
Thank you.
You're good.
That's great.
After this, they created an event using messages.
In Hulu, they are broadcasting the programming of Equal Love without cuts.
Don't miss their nice errors.
This program is brought to you by the programing learning system, PLOSTA.
Next, we learned how to create an event in June.
We created an event using a block called sending a message using conditional division.
Let's review it again.
PLOSTA, please.
When you want to send an order from a character to another character,
select Send a message from the event palette.
Select Send a message from the event palette.
Let's connect it under the programmed block.
Next, select a character to receive an order,
and select when you received a message from the event palette.
Connect the block you want to send an order under it.
Let's take a look at the events broadcasted on June 8th.
First of all, Nonno-chan.
I'm lost. Let's dance together.
I don't want to. I'll pay for it.
No, I don't want to.
How do you solve this with money?
As an idol, is it okay?
Everyone likes money.
Programming is good.
This is a good timing.
How to get it.
The last is Shinju-kun.
Hello. Where are you going?
I had a fight with my mom yesterday and ate grilled meat.
So I'm going to the butcher's.
Don't hate people even if you have a fight.
It's a pun.
It's good.
And it's cool.
Don't hate me.
Great.
Iori-chan, how was it?
I usually say puns.
I want you to refer to it.
After this, it will be unreleased.
On Hulu, we will show you the programming of Equal Love.
Don't miss it!
From now on, it will be unreleased. We made a game using the conditions.
I would like to make a dog game right away.
I'm going to make a game to run away from this dog.
I would like to choose a stage.
Choose a stage that is suitable for you to play a mini game from this stage.
First, run away from Shinji.
If you move the mouse, Shinji will move.
This is also a condition.
First, choose Big Shinji.
There is a place to go.
Make this a mouse pointer.
This is a condition separation.
When do you move this?
This time, it is an order to repeat until the conditions are met.
Next, set the game time to 10 seconds.
Use the timer from the palette.
Check the timer.
The timer is moving.
This is 10 seconds.
Bring the timer to reset.
Click to return to zero.
After 10 seconds, stop.
This is 10 seconds.
This is a green palette.
Bring the top one.
Put the timer here.
Set this to 10 seconds.
If it's over 10 seconds, it will stop.
Let's review the programming so far.
First, select where to go from the movement palette and select the mouse pointer.
Select to repeat from the control palette to 〇〇 and check the timer from the search palette.
Then, connect the block of resetting the timer to the top.
Select 〇〇 bigger than 50 from the search palette and put the block of the timer in 〇〇.
If you change 〇〇 to 10 and reset the timer, Shinji will move according to the movement of the mouse for 10 seconds.
What kind of program will you set up next?
Copy the program to the dog by pressing Ctrl-C and Ctrl-V.
To copy the program, select the program you want to copy and press Ctrl-C while pressing Ctrl-V.
Select the character you want to copy and press Ctrl-V while pressing Ctrl-V to copy the program.
As for the dog, we'll make it move like the next one.
First, turn it towards the mouse pointer.
If you do that, the dog will turn towards the mouse pointer.
The buttocks will turn towards it.
If you do that, when it turns towards it, move it by 20 steps.
Now, what happens is...
I'll show you.
I'll follow it.
For the programming that the dog will follow,
choose the one that moves from the palette towards the mouse pointer,
and replace it with the block that goes to the mouse pointer here.
Then, connect the blocks that move 10 steps and change 10 to 20.
Shinji will move with the mouse and the dog will follow him.
Let's try to move them at the same time.
Here is the message from the previous event.
Here is the event message, mini game.
Then, connect the mini game to Shinji and the dog.
Then, the game is completed.
If you press the mini game, you can see what it looks like.
Select the message from the event palette and name the mini game.
Next, connect the mini game to the dog and Big Shinji's program.
And if you click on the send mini game, the game will start.
Send the mini game.
It doesn't matter which one you send.
You can send it from anywhere.
Send the mini game.
This is not good.
Send the mini game.
This is fine.
You can put it on both.
Then it will be like this.
If you can do this, let's add scores to the game.
First of all, the variable.
From the variable,
This dark orange.
It is on the block definition.
Create a variable from here.
Let's make it a score.
Score.
Then, a new score will appear under the timer.
There were 100 points at the beginning.
Let's compete how much it will decrease.
First of all, it's 100.
Set the score here to 100.
If you do the mini game, the score will be 100.
If you are touched by a dog, it will be minus 1 point.
If Shinji is touched by a dog, the score will decrease one by one.
Next, the condition division.
If it is not, it will be minus 1 point.
Enter here.
If it is not, enter here.
It is between the timers.
Yes.
Then, search.
Search.
Then, this dog.
Then, if you touch Shinji, who is choosing a dog now.
Big Shinji.
Yes.
The variable just now.
Oh, I made a mistake.
This score was 100 points, but let's reduce it by 1 point.
Minus 1.
Yes, reduce it by 1 point.
Yes.
Now, the game is completed.
Yes.
To add a score, choose to make a variable from the variable palette and name it as a score.
To set the value to 100, choose to make a variable from the variable palette and name it as a score.
Connect this block to the dog's program.
Next, to lower the score every time Shinji touches the dog,
connect 〇〇 to the control palette and choose when Shinji touches 〇〇 from the search palette.
Then, choose Shinji.
Next, choose the minus one from the variable palette, and if you put it in 〇〇, the game will be completed.
After this, we will infiltrate the Maruhi facility to protect the safety of the sea.
In Hulu, we are broadcasting the programming of Equal Love in no cut.
Don't miss their nice error!
Programming saves the world.
Many of the smart phones and games that you use as usual are actually programmed.
Now, the technology is not only convenient, but also serves to protect people's safety.
I would like to go to the Tokyo Bay Seaside Transportation Center to protect the safety of the ship.
It seems that there is a lot of programming to protect the safety of the ship, but there is no road like a road in the sea.
It's strange why the ship and the ship don't collide.
What's going on?
So, I'm going to go to the interview to investigate the secrets of such a ship.
The two came to investigate the Tokyo Bay Seaside Transportation Center.
The Tokyo Bay Seaside Transportation Center
Here, we monitor the safety of the sea 24 hours a day.
Nice to meet you.
Hello.
I'm Sugiyama from the Tokyo Bay Seaside Transportation Center.
Nice to meet you.
Sugiyama-san, the chief security officer of the Tokyo Bay Seaside Transportation Center, will guide us.
How many ships are there in a day at the Tokyo Bay?
About 500 ships in a day.
500 ships?
Yes.
The types of ships are those that can carry 30,000 tons of oil, such as tankers, cargo ships, and container ships.
There are also small ships such as fishing boats and high-speed ships.
In total, there are about 500 ships.
There are about 500 ships in a day at the Tokyo Bay.
What is the purpose of the ships?
Yes.
There is a highway that turns into a road in the sea.
There are many ships now with a road sign indicating the road.
In the old days, there was a lighthouse in front of the port.
The ship runs with such a lighthouse as a landmark.
There is also a road called the highway in the sea, and the ships go along it.
But why can 500 ships operate without colliding?
We asked them to tell us the secret.
Excuse me.
Please come in.
Wow, there are so many.
This is the operation room.
Wow, there's a lot of things about Tokyo Island.
Wow.
You can see almost everything from here.
This is the operation room of the Tokyo Island Coastal Transport Center.
This is the operation room that protects the safety of the Tokyo Island Coastal Transport Center.
It's a 30-degree monitor that monitors the safety of the sea 24 hours a day.
This is the operating table that everyone is looking at.
It's one of the types of screens.
Yes.
What is used in this facility is programming technology called AIS.
You can learn real-time information such as the type of ship, the position of the ship, and the speed of the ship.
This triangle represents the size of the ship.
Do you check the ship on the monitor and be careful not to collide with each other?
That's right.
If you look at it like this, the arrow seems to collide with each other.
In such a case, we use the radio that each ship has.
They actually showed us how to convey information to the ship.
It seems that another ship is moving in the direction of this A-20 ship, so there is a risk of collision.
So we ask the A-20 ship to change course by conveying this information.
The A-20 ship is moving in the direction of this A-20 ship.
It's amazing. It's cool.
In this way, they protect the safety of the sea.
What did they do before this system was created?
Until then, we couldn't get this kind of information.
So, in the old days, we used to call a boat to check where it was going.
We checked where the boat was going one by one.
If there was a dangerous boat, we provided information.
Now, thanks to the AIS, we can get a lot of information.
Now, we can provide a lot of information to the boat.
Is this a programming system?
Yes, it is.
Thanks to the programming technology, the safety of the sea was protected.
I could see that the boats of the Tokyo Bay were protected safely by the efforts of the people of Kansai.
As a department of the Seaside Security Agency, we will continue to work hard to improve the sea traffic and the sea physics.
Thank you.
Next time, we will investigate the latest programming technology that can understand the information of the sea.
Minecraft, a popular game registered by more than 100 million people around the world on Hulu.
Watch the original content to learn the programming function of the educational version.
This program was brought to you by PLOSTA, a programming learning system.