8. Racey – Scoring
STEP Eight – A STEP Eight – B STEP Eight – C STEP Eight – D Run your code You have finished the game Remember to try the Add-Ons
8. Racey – Scoring Read More »
STEP Eight – A STEP Eight – B STEP Eight – C STEP Eight – D Run your code You have finished the game Remember to try the Add-Ons
8. Racey – Scoring Read More »
STEP Seven Run your code You can now crash into the obstacles
7. Racey – Crashing Read More »
STEP Six – A STEP Six – B STEP Six – C Run your code You will now see ONE obstacle moving down the screen
6. Racey – Drawing Objects Read More »
STEP Five – A STEP Five – B To restructure the code, replace all the code from## Start point for Step FIVE-B ##until the end of the file with the following Run your code Now, if you crash into the edge, the game will re-start after 2 seconds
5. Racey – Displaying Text Read More »
STEP Four – A STEP Four – B AND Change the following line; FROM to STEP Four – C Run your code If you move the race car to either edge the game will stop
4. Racey – Boundaries Read More »
STEP Three – A STEP Three – B Run your code You should see a screen like this and you should be able to use the arrow keys to move the car
3. Racey – Movement Read More »
Create a Project Folder Save the following image (racecar.png) into your project folder (you probably called it Racey)– be sure to name the image file racecar.png STEP Two – A STEP Two – B STEP Two – C Run your code You should now see a white screen with a race car.
2. Racey – Display Images Read More »
Create a Project Folder Add a new folder where you save your school work and call in Racey Run VS Code, then open the Racey folder you created. Now create a new file and call it racey.py Add the following code to your code file Run your code You should see a window like the one below with
1: Racey – Initial Setup Read More »