In this chapter, you will
Find out what turns an object into a component.
See how Microsoft XNA really uses components to make game creation easy.
Experiment with artificial intelligence (AI) in a game.
Turn “Bread and Cheese” into an arcade-quality game.
You now know a lot about how programs are made. You have traveled all the way from performing simple calculations with your programs to creating complex game objects that show high cohesion (that is, they can look after themselves) and low coupling (that is, they interact in the simplest manner possible). In this chapter, you are going to find out how to take a high-level view of your programs and use this perspective to create software components that ...