TAEB / TAEB-AI-Behavioral

behavioral AI for TAEB
http://taeb.github.io
5 stars 4 forks source link

wand bouncing shouldn't try to bounce through unexplored tiles #70

Open doy opened 10 years ago

doy commented 10 years ago

Right now it assumes that unexplored tiles are empty, but they could also be rock, which changes where the bounce goes. For instance:

    ----
    .m. 
   -@   
##      
@       
#       

TAEB thought that firing a magic missile northeast would hit the mimic (because it assumed that the unexplored tile two spaces to the left of the mimic was empty), but instead it hit the shk.

This isn't an issue for non-bounced shots, since if we can see a tile and it's in range of a non-bounced shot, there can't be any walls in between.