杏吧原创

Cyber-baddies mutate to win

When you next play a video game, you may find your computer opponent has become a little better at finding new and interesting ways to kill you

Next time you play a video game, you may find your computer opponent has become a little more adept at finding new and interesting ways to kill you.

Steffen Priesterjahn and colleagues at the University of Paderborn in Germany have developed a way to enable video game bad guys to learn how to be even nastier.

The team used evolutionary algorithms to generate characters for the game Quake3 and then multiplied them by producing random mutations in each character鈥檚 behaviour. Each of these mutants then took on the standard computer opponent. Those that performed well were 鈥渕ated鈥 to create a new selection of mutants, while the rest were discarded. The team repeated the process a number of times, finally creating characters that consistently beat the conventional computer bad guys and were much tougher for humans to play against.

For example, evolved players used tactics such as following their opponent closely while dodging from side to side. 鈥淧laying against them is quite hard because they really put the player in a defensive position,鈥 says Priesterjahn. Some characters also evolved their own defensive strategies, like running away and hiding behind pillars. Early versions had taken this tactic a little too far, refusing to come out of their hiding place and attack the opponent.

The researchers are now developing bad guys capable of stealing tactics from human players and sharing them with their computerised teammates. They also plan to evolve computer players for games other than shoot-鈥檈m-ups.