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