jrheard / voke

a roguelite in clojurescript
MIT License
32 stars 2 forks source link

implement some sort of monster ai #36

Open jrheard opened 7 years ago

jrheard commented 7 years ago

in reality we'll probably just use super-dumb-simple finite state machines

but i'm going to dump some random links i found here

jrheard commented 7 years ago

http://www.roguebasin.com/index.php?title=The_Incredible_Power_of_Dijkstra_Maps

likely also relevant to #35

jrheard commented 7 years ago

per that last article:

4) Desire-driven AI. Most of the things a monster will do involve moving toward something or moving away from it. Here are some examples: The player: approach or flee. Treasure: collect it. Fellow monsters: approach to aggregate into packs, flee to keep monsters wandering around by themselves. Food: Go to it and eat it. Water: Go to it and drink it. Sounds: Investigate them, or avoid them. Hive queen: Stay near her. Stealth: Prefer to be in cells that the player can't currently see.

jrheard commented 7 years ago

http://roguelikedeveloper.blogspot.com/2007/10/unangband-monster-ai-part-one-history.html