Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice. The answers to the quiz can be found in Appendix A, "Quiz Answers."

Quiz

1:

What are the three types of roaming AI?

2:

How does behavioral AI work?

3:

In regard to strategic AI, what do the terms look-ahead and weighting mean?

Exercises

  1. Play some video games with computer opponents and see whether you can tell which type of AI approach is being used.

  2. Tinker with the AI code in the Roids 2 program example to see how changes to the minimum collision distance affect the movement of the flying saucer.



Sams Teach Yourself Game Programming in 24 Hours
Sams Teach Yourself Game Programming in 24 Hours
ISBN: 067232461X
EAN: 2147483647
Year: 2002
Pages: 271

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net