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

moveToward() does not moves "toward" #457

Open
branyine opened this issue Sep 5, 2019 · 1 comment
Open

moveToward() does not moves "toward" #457

branyine opened this issue Sep 5, 2019 · 1 comment

Comments

@branyine
Copy link

branyine commented Sep 5, 2019

Level 10, moveToward() has issue in some cases where the leftDist (xor) upDist is negative. E.g. downmost Defender with moveToward(me,'exit') moves 'up', as the abs() is missing while checking which of the perpendicular directions is the greater "distance".
[I haven't checked the same function on other levels, main thing I passed them:)]

@pppery
Copy link
Contributor

pppery commented Sep 28, 2019

Congratulations, you've outsmarted the programmers of the Machine Continuum (in a more serious tone of voice, I see no reason why this should be fixed)

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

2 participants