Summary

Summary

You are beginning to round out your basic training as a programmer. You have added rudimentary looping behavior to your bag of tricks. Your programs can repeat based on conditions you establish. You know how to build for loops that work forwards, backwards, and by skipping values. You also know how to create while loops. You know the guidelines for creating a well-behaved loop. You know how to form arrays manually and with the array() directive. You can step through all elements of an array using a loop. You learned how your program can keep track of persistent variables by storing them in form fields in your output pages. You've put all these skills together to build an interesting game. In Chapter 5, you'll extend your ability to work with arrays and loops by building more powerful arrays and using specialized looping structures.