Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Introduction to loops

In life some tasks need to be repeated until the job is finished. The same is true in programming.

In this video, you’ll learn how ‘while loops’, ‘do-while’ loops and ‘for’ loops can be used to repeat statement(s) until a specified conditions are met. You’ll also see how loops are implemented in the game code, and the effects they have on gameplay.

Note: There is a downloadable guide available.

We will go through how to make these changes to the game step-by-step later in the week.

Share this video:

This video is from the free online course:

Begin Programming: Build Your First Mobile Game

University of Reading

Contact FutureLearn for Support