Artboard 1@2xd

Create a countup timer in WoofJS

This tutorial explains how to add a countup timer in WoofJS as shown below. Use the code below to implement this in your game. // Add a background setBackdropURL(“./docs/images/war-backdrop.png”) setBackdropStyle(“cover”) …

While loops in Python

While loops in Python

This tutorial explains how to use while loops in Python to repeat sections of code. You can also watch the video on YouTube here.

Foreach loops in C#

This tutorial explains how to use the foreach loop to go through each element in an array. A foreach loop is simpler and easier to use than a for loop …

Arrays in C#

Arrays are basically a list of items of the same type that are grouped together in a single container. Unlike variables which can only contain one value at a time, …

Do while loops in C#

A do while loop is a type of loop which repeats code while a certain condition evaluates to true. However, unlike a while loop which tests the condition first, a …