Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
| topics: | random behavior, keyboard control, sound |
| concepts: | dot notation, random numbers, defining methods, comments |
In the previous chapter, we looked at the basics of starting to program our first game. There were many new things that we had to look at. Now, we will add more interesting behavior. Adding code will get a little easier from now on, since we have seen many of the fundamental concepts.
The first thing we shall look at is adding some random behavior.