


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















๏ You need to design a simple racetrack and race car as
viewed from above.
๏ You will need to keep your design simple so that you can
draw it using the paint editor
๏ You will need to use clear colours as these will be used
to detect the position of the car.
๏ Click on the stage and use the editor to draw a racetrack
๏ Use the forever control block and the if control with the key pressed sensor to detect a key pressed and move the car.
๏ Test the program to make sure you can move the car in all directions. Change the move steps amount to slow down or speed up the car.
๏ Use the a, s, w, z, keys to control the second car so you
can have a two player game
๏ Get into pairs and play each others games to make sure
that both cars move correctly in all directions.
๏ Stop script
๏ Use the stop script so that once a car has won the race another car cannot win. Try the game without the stop script.
๏ Add a timer to see how fast the winning car goes.
๏ Stop the game if a car goes on the grass OR keep a
score of the number of times the car goes on the grass
๏ Reset the game once a car has won
๏ Tick the timer on the sensing block to create a timer
๏ Use the say block from the Looks controls and the reset timer from the sensing controls to announce the winning time