- Variable Declaration
- Variable Assignment
15 Programming Activities
1. What Are Variables?
2. Fuel Up
Give your ship a fuel tank in the form of a number variable.
Set the ship's fuel level high enough to complete the course.
4. Rocket Jump
Set the fuel level high enough to power the ship's jumps.
5. What Are Strings?
Learn about the string data type and how to access parts of a string.
6. Treasure Chest 1
Set variables to unlock a chest secured with a color lock.
7. How Do You Declare Multiple Variables?
8. Open Fire
Set two variables, one for fuel and one for ammunition.
9. It's a Toughie
Set fuel and ammo level and fire multiple cannonballs at an obstacle.
10. Treasure Chest 2
Set variables to unlock a treasure chest secured with two color locks.
Clear the path of many obstacles.
12. Smart Cannon
Detect which types of obstacles can be destroyed.
13. Treasure Chest 3
Set variables to unlock a treasure chest secured with four color locks.
Review all the important concepts from this lesson.
Test your knowledge.