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

Create tiles_within_range function and fix neigbors #38

Merged

Conversation

0xNonCents
Copy link
Contributor

  1. tiles_within_range gets all of the tiles within X moves of a tile. In a bit of a crunch to ship hegemony so I have not written a test yet
  2. Neighbors for a tile depend on the row(y value) that a hex has

@0xNonCents 0xNonCents marked this pull request as draft February 7, 2024 20:08
@0xNonCents 0xNonCents force-pushed the hex_get_tiles_within_range branch from d01d580 to 189ddcb Compare February 7, 2024 23:11
@0xNonCents 0xNonCents marked this pull request as ready for review February 8, 2024 00:26
@0xNonCents 0xNonCents force-pushed the hex_get_tiles_within_range branch from e1c580d to 15a7d43 Compare February 8, 2024 22:43
@ponderingdemocritus ponderingdemocritus merged commit 64c8306 into dojoengine:main Feb 8, 2024
7 checks passed
@0xNonCents 0xNonCents deleted the hex_get_tiles_within_range branch February 9, 2024 00:01
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

Successfully merging this pull request may close these issues.

2 participants