Karsten talks about games he has played (and created) and encourages you to think about how game developers have created games using programming constructs. Chose a game and have a …
This step builds on the information provided in the video in the previous step. Functions (also called ‘procedures’ in some programming languages and ‘methods’ in most object oriented programming languages) …
This video will discuss what functions are, why they are useful in programming, and demonstrate some examples of functions within the game code. Functions are a set of instructions bundled …
What if there is a complex problem where a combination of conditional and looping constructs have to be used? Or, multiple conditions and multiple looping constructs have to be used? …
In this video, we’ll look more in depth at algorithms and how they can be developed to complete tasks, and find solutions to problems. You can also download the algorithm …
It is recommended that you watch the ‘Introduction to algorithms’ video in the previous step before reading this article. You might also like to use a notepad, or a text …
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 …
You learnt in Week 2 that variables can be thought of as labelled containers that hold certain types of data. Well, arrays can be thought of as a collection of …
This tutorial will build on what was learnt in the ‘Introduction to conditional statements’ video (in the previous step) by discussing Boolean logic and how it is used in conditional …
In this video you’ll learn about conditional statements and how they’re used in programming. You’ll be making use of them in the game, and will also get an introduction into …
In this video we’ll show you how to put your new found knowledge of variables and operators into practice. You will open up the game code in the IDE and …
Operators are used to perform functions on the data in our variables. In this video, you will learn about some of the ways operators can be used, see examples of …
When there is more than one operator in a statement, operators with higher precedence are evaluated before operators with lower precedence. Some operators have same level of precedence in which …
These operators are used in conditional statements to test values against certain conditions. We’ll see more examples of their use in Week 3. Operator Symbol Equal to == Not equal …