EA Session-12
EA Session-12
SESSION - 12
Class Outcomes Kids will be able to create a professional level game using the concepts learnt in the previous classes
2 mins Warm up with the kid. Make sure the kid is comfortable and is able to follow and understand you
8 mins Wrap up the class with the summary and clarify the kids questions and ask the kid questions regarding
the class.
Do you remember what all we did in the last class? Yes (let the student reply)
Can you repeat it for me? Ok!
We learnt about functional programming and behaviors.
We created some new behaviors. Isn't it? Can you name a few behaviors we Student replies
created? We used all of them to create an interesting animated story.
Teacher shows
the slide Did you share it with your friends and family? How many feedbacks did you get?
What about trying to make an interesting game today. How does this idea sound? Great!
Teacher shows On a scary night a beautiful city is attacked by a pirate. So the king sends out his
the slide bravest knight to save the city. The knight goes out with his skilled army to abide
by the king’s orders. But the knight has only 10 lives and the pirate is very strong
and has many powerful weapons. He has 3 types of weapons.
1. The stars - whenever the knight comes in contact with the stars he loses
2 of his lives. But the knight has a strong army. Whenever any of his
army men comes in contact with the stars the army men loses his life and
deflects the stars back to the pirate. So a new army man comes to help
the knight.
2. The red fireball - The knight gains 1 life if he comes in contact with the
red fireball.
3. The snowball - This is the deadliest of all the weapons which the pirate
has. The moment the knight comes in contact with the snowball he loses
all his life and the game ends.
Let me show you the game first. I think you will be able to understand it better.
Let the student play the game.
Alright, so you can stop playing the game now. Let me show you how we design
and code this.
Complete game link:
https://studio.code.org/projects/playlab/lDqVrnK8TLdRNeu6gG2GJAhqeKT
YV6d1HRLnrvvKbmE
Teacher needs to create the 3 characters and ask the student to complete the
remaining activity.
Activity :20 min Student has to Student has to continue from where the teacher left. Activity Link:
login to their https://studio.code.org/projects/pl
code.org account Follow the following instructions : aylab/YgJ2S3yoe2nofzgYI8ILg8fDi
svYhXIFxgxU5UlgRZQ/edit
1.Write codes to make the knight move in all the four directions using
the arrow keys.
2.Write code to make the pirate move in left and right directions and
make the pirate throw the stars.
5. Write code to make the army man vanish when it touches the star and
star should bounce with the sound effect.
6.When the knight touches the star it loses 2 life and a message is
displayed with sound effect.
7.When the knight touches the red fireball it gains a life and a message
is displayed along with the sound effect.
8.When the knight touches the snowball he loses all his life and a sound
is played along with a message on screen. The game ends as you lose
the game.
When the student completes the activity ask them to save the game with
an appropriate name.
Time - 8 min Teacher on full We created an interesting game today. I loved the class and creating the game Student replies!
screen with you. Did you enjoy creating the game?
You can share it with your friend and family and get feedback from them to Student replies!
improve and develop a better game.
Let's relax but in a different way today.Lets play a small game to see how well
you know your computer.
You need to unscramble the word and match them with the correct one. Are you
ready?
Good! Yes!
MERUASNE BOOTING
Teacher Shows LOGOUT
OGINL
the slide
WPDAROSS USERNAME
TGUOOL LOGIN
GBOTOIN PASSWORD
Logout - It means to sign out of any device. That means your id and password
won't be there in the computer and you will not be able to access
CONSOLIDATED LINKS
TEACHER ACTIVITY
Activity https://studio.code.org/projects/playlab/N_DcEZt8goAdJyp8gkzylqj3Mz4ebXU8UT33-aqUAsk/edit
STUDENT ACTIVITY
Activity https://studio.code.org/projects/playlab/YgJ2S3yoe2nofzgYI8ILg8fDisvYhXIFxgxU5UlgRZQ/edit