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

Some maps lack symmetry #313

Closed
erdman opened this issue Dec 7, 2016 · 5 comments
Closed

Some maps lack symmetry #313

erdman opened this issue Dec 7, 2016 · 5 comments

Comments

@erdman
Copy link
Contributor

erdman commented Dec 7, 2016

I noted a minor false-symmetry map in another thread (#246 (comment)). The map I referred to there requires quite close examination to reveal it's asymmetry:
https://halite.io/game.php?replay=ar1480061447-2832866290.hlt

However, @AisleCC reported this one, which is more egregious than the one I ran into:
https://halite.io/game.php?replay=ar1481039228-1360914193.hlt

These are the only two incidences that I'm aware of, which is only to say that I think it's fairly uncommon-to-rare for this bug to present itself.

@benjaminfspector
Copy link
Contributor

Yeah, this bug is sufficiently uncommon that we hadn't gotten around to fixing it. I'll take a look at it tomorrow, and if I don't find it then I'll fix it over the weekend for sure.

I've only ever seen 6-player maps be asymmetric -- that will probably be my launching point in searching for the bug.

@benjaminfspector
Copy link
Contributor

Update on progress searching for bug:
Through experimentation, it appears that this bug fairly consistently when two conditions are satisfied:
First, the map must contain six players.
Second, the map must have some sort of shift or mirroring in it (I haven't yet narrowed which is responsible).
Presently trying some larger numbers of players to see if that will do it as well.

@benjaminfspector
Copy link
Contributor

Was able to replicate on 8 player map but not 7. Suspecting that it has something to do with shifting multiple players at once.

@benjaminfspector
Copy link
Contributor

Isolated to be a problem within the shifts.

@benjaminfspector
Copy link
Contributor

Disabled shifts for 6-player maps; should be fixed.

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

No branches or pull requests

3 participants