Game 11
Game 11 in a sequence of 12.
In this eleventh game we introduce the idea of arrays to allow multiple bugs.
An array is a variable container that can hold many items.
So in the array bugSpeedArray[2, 5, 1, 4] the element
bugSpeedArray[0] contains the value 2, bugSpeedArray[1] contains the value 5 and so on.
Note that in javascript arrays we start to count from 0.
To make your own copy this game use the 'File > Save Page As' feature in your browser.
To change the resulting file use a text editor such as Microsoft NotePad.
Go on to play
Game 12.