गुरुवार, 4 फ़रवरी 2016

बच्चों के लिए प्रोग्रामिंग - Course 3 # Bounce

यह Code.org के Code Studio में तीसरे कोर्सका पंद्रहवां स्टेज है. इसका नाम है बाउंस. इसमें दस लेवल हैं और सारे लेवल यह कोडिंग की प्रॅक्टिस के लिए हैं. इसमें हमें एक बौन्सिंग बॉल का गेम बनाना पड़ता है.


नीचे हरेक लेवल का चित्र और उसे पूरा करने के लिए जरूरी कोडिंग दिखाया गया है.

Level 1

You need to attach a block to the event handler. When Left arrow is the event handler. When you press Run button, a yellow colored ball is launched. You can use the Left arrow key to move the paddle in the game. When the ball hits the paddle it bounces. You need to make the ball reach the finish target displayed by a Red colored flag.

Level 2

We will assign "move left" and "move right" to Left Arrow and the Right Arrow.This way we can move the paddle to the left as well as to the right.

Level 3

We will assign "move up" to the Up Arrow

Level 4

We will assign respective movements to all the four Arrow keys.

Level 5

We will make the ball to bounce when the ball hits the Paddle. Remember, if you do not assign the "bounce ball" block to the "when ball hits paddle", then it will not bounce. 

Level 6

Now we will make the ball to bounce whenever it will hit the paddle as well as any of the walls

Level 7

Assign Left, Right movement and Bounce.

Level 8

Score a point when ball is in the goal

Level 9

Level 10

Design the game any way you like. After you have completed coding and Run the game, if you click on Finish you will get a link for your newly created game which is now online. You can share this link with your friends, family to let them play the game that you created.  

कोई टिप्पणी नहीं:

एक टिप्पणी भेजें