Game Development Reference
In-Depth Information
To set the number of cannonballs available, just change the
ballsLeft
global number
to whatever you want.