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 »
Haunted House Challenge 4 The following will guide you through the development of a simple game. Other activities will add room, objects, inventories and enemies. Using the coloured code below as a guide, modify and create your own code as shown in the coloured boxes: Done? Show your teacher and get your 8XP!Congratulations, you have
Python 2 Text Game Challenges – 4 Read More »
Haunted House Challenge 3 The following will guide you through the development of a simple game. Other activities will add room, objects, inventories and enemies.CODING TIMEEnter the following code for the third stage and test it.In this third version of the game, the player’s moves and interactions are contained in dictionaries and lists. This make
Python 2 Text Game Challenges – 3 Read More »