Level 13 – Intro

When you are programming there are times when you might want a block of code to repeat several times. Most programming languages have statements that allow you to loop your code. In this unit, we will take a look at several different types of loops and how you can start to use them in your games.

Then you will learn that loops can be used for more than just repeating code. You can use loops to perform some fairly clever tasks when you involved a loop counter (you’ll soon know what this is!). Loops get even better when you start using them with lists and arrays.

Every programmer should have a solid knowledge of using loops. So lets get started with a big level on loops.