Learning Objectives In this challenge we are learning how to use variables to store the properties of a superhero. Some of our variables will be used to store text (string) such as the name of our super hero. Some variables…
Did You Know? The 12-hour clock is a time convention in which the 24 hours of the day are divided into two periods: a.m. (from the Latin ante meridiem, meaning “before midday”) and p.m. (post meridiem, “after midday”). Each period…
In this post we will use Python 2 and Minecraft to create a virtual trampoline for Minecraft. We will first build the trampoline using Minecraft blocks (in Python). Then we will write a routine to make the main player bounce…
In this challenge we will use Python Turtle to create avatars. (An avatar is an icon representing a particular person in a computer game, Internet forum, etc.) Try the code below. This code is using a few computing concepts such…
Learning Objectives By completing this challenge we are learning how to open and extract data from a text file, reading the file line by line. We will then use our program to make some calculations such as calculating the total…
In this challenge we are going to use our coding skills to create some nice colour patterns. We will first look at the code given to create a rainbow effect to understand how it works. We will then adapt this…
Your challenge is to guide the turtle through the maze. To do so you will need to use the following instructions: myPen.forward(100) to move forward by 100 pixels, myPen.right(90) to turn right by 90 degrees, myPen.left(90) to turn left by…
This tutorial is the third tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More…
We need your coding skills to locate the treasure of Captain Redbeard. The legend holds that Redbeard was a great pirate who sailed the Caribbean Sea, fiercely attacking any vessels from the British Navy he would encounter. Redbeard was killed…
Using a “scratch like” programming language you can create your own 3D models and export them in a format recognised by 3D Printers. Click on the picture above to access the BeetleBlocks project: