Skip to content

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

Description

@doy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions