Posts

Showing posts from January, 2021

0004-JS-WHJ-PRO-C8: THE WORLD’S HARDEST GAME

Image
PRO-C8: THE WORLD’S HARDEST GAME Story: Every game has a few simple components… The player playing the game should have a goal. It should give you obstacles to overcome. And it should offer you feedback on how you are doing in the game. Additionally, good games also have some story behind them. With all these points in mind, design your own game with your own character, goals, obstacles, feedback and a story.   Getting Started: Login to code.org Click on the following link:  Project Template Click on  “Remix” . Rename the project to  Project 8  and click on  Save . Specific Tasks to complete the Project: Create the arena for your game. Create the main character for your game. Add controls for your character. Create obstacles for your main character to reach their goal. Give feedback to the player - score, sounds etc.- to tell how they are doing in the game. You can also build a story in your game. Click on Run once to check if the code is working correctly.

0003-JS-WHJ-PRO-C7: VEGETABLE GARDEN - 2

Image
PRO-C7: VEGETABLE GARDEN - 2 Story Richard is a hardworking and dedicated farmer. He is always experimenting with new farming methods and now he wants to grow new crops on his farm. Help Richard plan which plants to grow in which row. Here is what the scientist from the Agriculture Institute in his country has told him. Tomatoes should not be planted next to Carrots. Brinjals should not be planted next to Onions. Carrots should not be planted next to Onions. Tomatoes should not be planted next to Brinjals. Capsicums can be grown next to any other plant. Getting Started: Login to code.org Click on the following link:  Project Template Click on “View Code”. Click on “Remix” Rename the project to  Project 7  and click on  Save . Specific Tasks to complete the Project: When you start the project, you would be presented with an empty screen. Set the background color to brown. You have to grow rows of vegetables for Richard. Create 5 rows of different vegetables and there should be one type

0002-JS-WHJ-PRO-C5: VEGETABLE GARDEN - 1

Image
PRO-C5: VEGETABLE GARDEN - 1   Getting Started: Login to code.org Click on the following link:  Project Template Click on “Remix”. Rename the project to  Project 5  and click on  Save . Specific Tasks to complete the Project: One row of vegetables is already created for you, for pumpkins. Set the background to brown color for soil. Create 5 more rows with Tomato, Mushroom, Brinjal, Carrot and Spinach. Make sure that there is only one type of vegetable in one row Arrange the vegetables keeping 50 pixels of space from the nearest vegetable Click on  "Run"  once to check if the code is working.

0001-JS-WHJ-PRO-C4: RETURN OF THE JEWEL THIEF

Image
PRO-C4: RETURN OF THE JEWEL THIEF   Getting Started: Login to  code.org Click on Create and select Game Lab from the drop down menu. Rename the project as Project 4 and then click on Save. Start making changes to this blank project. Specific Tasks to Complete the Project: Create a square gray sprite on the bottom left corner, which is the thief. Create a diamond using a shape on the top right corner. Create two laser beams whose width is 200 and height is 5 Design the positioning and movement of the laser beams so that it is impossible for Natwarlal to reach the diamond before touching one of these laser beams.5. Create EdgeSprites. Create EdgeSprites. Allow the thief to move using the 4 arrow keys. Add code for the following event: When any of the laser beams touches the thief, all the movements in the game should stop Display a message “Thief is caught”. Invite your friend to be Natwarlal and see if he/she can escape your security system. Work on the loopholes to create a better secu

0000-JS-WHJ-PRO-C2: SQUARIADS

Image
  PRO-C2: SQUARIADS https://www.youtube.com/watch?v=war3AnO8elY&feature=emb_logo Getting Started: Login to code.org Click on Create and select Game Lab from the drop down menu. Rename the project as Project 2 and then click on Save. Start making changes to this blank project. Specific Tasks to Complete the Project: Create  6  square pin sprites -  pin1, pin2, pin3, pin4, pin5, pin6  with the following positions and size. For example:  pin6=createSprite(240, 340, 20, 20); All pins and the shooting squariad should  bounce off  when they  collide with the edges  of the canvas. All pins and the squariad should  only bounce against each other  when they collide When the project is played, the shooting squariad should be released with: X velocity of 4 and Y velocity of 0.5. Click on  "Run"  once to check if the code is working./li>