The keyboard state

I skipped over the conditional clause in the while loop in Listing 2 earlier.

I wanted to defer details regarding that test until now.

Allegro programs have access to an array of true/false data:

Where the value in each element represents the pressed/non-pressed state of one key on the keyboard.

If the key is pressed, the element contains a true value.

Otherwise, it contains false.