![]() ![]() |
Chapter 34. Adaptive Defensive Strategies with Genetic AlgorithmsKey Topics Because two entire parts of this book focus on offensive strategies (for instance, shooting and weapon selection), it seems appropriate to balance out the animats' skills with defensive strategies—such as dodging fire or jumping unpredictably. The preceding two chapters discussed new technology that allows the creatures to adapt to their environment, based on Darwinian concepts. So, instead of manually crafting fuzzy rules as defensive strategies (as we learned in Chapter 31, "Enhancing Movement Behaviors with a Fuzzy System"), the creatures learn how to defend themselves successfully within the game. We'll achieve this by placing them in a competitive environment and use evolutionary techniques to select the fittest behaviors (specifically, using genetic algorithms). We'll focus on dodging fire and rocket jumping in the following sections, but jumping unpredictably to prevent being shot will be left as an exercise—extending directly from the principles behind dodging. This chapter covers the following topics:
At the end of this chapter, the animats are no longer defenseless in the face of oncoming rockets. |
![]() ![]() |