Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
doy opened this issue Dec 18, 2013 · 0 comments
Open

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

doy opened this issue Dec 18, 2013 · 0 comments

Comments

@doy
Copy link
Member

doy commented Dec 18, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant