During Computing, Year 4 Robins have been creating two player car racing games in Scratch.
First the children had to create a racing track using the paint tool. They then inserted two car sprites for player 1 and player 2. Once the cars were inserted, the children started to program each car. The important thing was to use the motion blocks and assign keys to move the cars around. They also had to think about the start coordinates for when a car touches the red fence, it took the player back to the start of the game.
The children will finish off by adding variables, which will be used to score each time a car completes a lap.
Robins are close to finishing their games and we’ll have a few examples on our blog next week.
Year 4 Robins have today been continuing their understanding of programming by building algorithms with variables and If, Do statements.
The children use a website called ‘Code for Life’ to program a van to drive on a road but wait at traffic lights if the red light appears and move forward if the traffic light is showing green.
Robins were asked to use the least amount of blocks as possible to ensure they get a higher score at the end of the challenge. Some children impressed with Mr Baddhan with their debugging and programming skills.
Robins class enjoyed working with Mr Baddhan this afternoon creating an Etch a Sketch game. They were shown how to program their chosen sprites to use the pen up and down blocks. They were asked to create two shapes; a square and a rectangle.
Mr Baddhan also set a challenge, he asked some children to create an instruction screen which explains users how to play the game. They were shown how to do this by using the switch backdrop block.